Skip to content

Commit c5fe6cd

Browse files
author
Gabriel Barrantes
committed
Setup CI/CD pipeline
Setup job for travis tests Signed-off-by: Gabriel Barrantes <[email protected]>
1 parent 888d9ab commit c5fe6cd

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.github/workflows/test.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: NASM CI/CD
2+
3+
on:
4+
push:
5+
branches: [ "*" ]
6+
pull_request:
7+
branches: [ "*" ]
8+
9+
jobs:
10+
build:
11+
name: Build and test
12+
runs-on: ubuntu-latest
13+
14+
container:
15+
image: ubuntu:24.04
16+
17+
steps:
18+
- name: Install dependencies
19+
run: |
20+
apt-get update && apt-get install -y automake perl python3 build-essential
21+
22+
- name: Checkout repository
23+
uses: actions/checkout@v4
24+
25+
- name: Prepare build system
26+
run: |
27+
sh autogen.sh
28+
sh configure
29+
30+
- name: Build
31+
run: |
32+
make
33+
./nasm --version
34+
35+
- name: Run travis tests
36+
run: |
37+
make travis

0 commit comments

Comments
 (0)