From 19d7381c5eecfb76fdcda489e00aa3e776512496 Mon Sep 17 00:00:00 2001 From: Hackerl <490021209@qq.com> Date: Fri, 20 Oct 2023 11:51:40 +0800 Subject: [PATCH] add github action workflow --- .github/workflows/build.yml | 15 +++++++++++++++ 1 file changed, 15 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..6dd3c09 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,15 @@ +name: pangolin +on: [ push ] +jobs: + linux-amd64: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + submodules: recursive + - name: Build + run: | + make -C shellcode + mkdir -p build + cmake -B build -DCMAKE_TOOLCHAIN_FILE="${VCPKG_INSTALLATION_ROOT}/scripts/buildsystems/vcpkg.cmake" + cmake --build build -j$(nproc)