From 05adbf5d336ed3533973752e85e25d9747c347f8 Mon Sep 17 00:00:00 2001 From: Zvonimir Rudinski Date: Sun, 2 Jun 2024 06:57:46 +0200 Subject: [PATCH] add github build action --- .github/build.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/build.yml diff --git a/.github/build.yml b/.github/build.yml new file mode 100644 index 0000000..bcf21cd --- /dev/null +++ b/.github/build.yml @@ -0,0 +1,33 @@ +name: Build Todd +on: + push: + branches: + - master + +jobs: + build-linux-x86: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Setup GCC + uses: egor-tensin/setup-gcc@v1 + with: + version: latest + platform: x86 + - name: Setup ncurses + uses: awalsh128/cache-apt-pkgs-action@latest + with: + packages: libncurses5-dev + version: 1.0 + - name: Build + run: | + mkdir build + make + cp todd build/todd + - name: Upload build + uses: actions/upload-artifact@v2 + with: + name: todd-linux-x86 + path: build + +