From c5fe6cd8579106fb2f1776099af44db0cbfcde7e Mon Sep 17 00:00:00 2001 From: Gabriel Barrantes Date: Sun, 8 Jun 2025 15:21:36 -0600 Subject: [PATCH] Setup CI/CD pipeline Setup job for travis tests Signed-off-by: Gabriel Barrantes --- .github/workflows/test.yml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 00000000..1ee92280 --- /dev/null +++ b/.github/workflows/test.yml @@ -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