mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-10-10 00:25:06 -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:
committed by
H. Peter Anvin
parent
fe7c3c7171
commit
19e1f4bf81
37
.github/workflows/test.yml
vendored
Normal file
37
.github/workflows/test.yml
vendored
Normal 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
|
Reference in New Issue
Block a user