Skip to content

Commit 14a2067

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 14a2067

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.github/workflows/test.yml

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

0 commit comments

Comments
 (0)