From 7d19415d8eb4a15f587205e11efeabf704ee3c25 Mon Sep 17 00:00:00 2001 From: pd3v Date: Tue, 26 Dec 2023 16:03:27 +0000 Subject: [PATCH] add linux script --- .github/workflows/cmake.yml | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 39477d7..7484db1 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -28,5 +28,25 @@ jobs: - name: line macOS Artifact uses: actions/upload-artifact@v3 with: - name: line_v0.5.26_macOS + name: line_v0.5.31_macOS + path: ${{github.workspace}}/ + linux_build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Checkout submodules + run: git submodule update --init --recursive --remote + - name: Build + run: ./build.sh + - name: Remove build-only process files + run: | + rm -r ${{github.workspace}}/build/CMakeFiles + rm ${{github.workspace}}/build/*.cmake + rm ${{github.workspace}}/build/CMakeCache.txt + rm ${{github.workspace}}/build/Makefile + - name: line linux Artifact + uses: actions/upload-artifact@v3 + with: + name: line_v0.5.31_linux path: ${{github.workspace}}/