From d509260499ea0d9ba404ffaf13fe6d24000bb628 Mon Sep 17 00:00:00 2001 From: evanlin96069 <72735402+evanlin96069@users.noreply.github.com> Date: Thu, 11 Jan 2024 23:23:17 -0500 Subject: [PATCH] Add CI --- .github/workflows/build.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..8e81026 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,29 @@ +name: Build + +on: + push: + paths-ignore: + - '.gitignore' + - 'LICENSE' + - 'README.md' + +jobs: + build: + runs-on: windows-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + - name: Set up clang + uses: egor-tensin/setup-clang@v1 + + - name: Build project + run: | + ./compile.bat + + - name: Upload artifact + uses: actions/upload-artifact@v3 + with: + name: sar-dll + path: bin/sar.dll