0
0
mirror of https://github.com/netwide-assembler/nasm.git synced 2025-07-24 10:25:42 -04:00

Setup CI/CD pipeline

Setup job for travis tests

Signed-off-by: Gabriel Barrantes <gabriel.barrantes.dev@outlook.com>
This commit is contained in:
Gabriel Barrantes 2025-06-08 15:21:36 -06:00
parent 888d9ab550
commit c5fe6cd857

37
.github/workflows/test.yml vendored Normal file
View File

@ -0,0 +1,37 @@
name: NASM CI/CD
on:
push:
branches: [ "*" ]
pull_request:
branches: [ "*" ]
jobs:
build:
name: Build and test
runs-on: ubuntu-latest
container:
image: ubuntu:24.04
steps:
- name: Install dependencies
run: |
apt-get update && apt-get install -y automake perl python3 build-essential
- name: Checkout repository
uses: actions/checkout@v4
- name: Prepare build system
run: |
sh autogen.sh
sh configure
- name: Build
run: |
make
./nasm --version
- name: Run travis tests
run: |
make travis