From aafe5a30a3ff8a067927b7c27b3f12d33fd4e877 Mon Sep 17 00:00:00 2001 From: Bambooin Date: Sun, 12 Dec 2021 21:05:37 +0800 Subject: [PATCH] feat(ci): add tag release ci --- .github/workflows/release-ci.yml | 61 ++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 .github/workflows/release-ci.yml diff --git a/.github/workflows/release-ci.yml b/.github/workflows/release-ci.yml new file mode 100644 index 000000000..4c36de2cf --- /dev/null +++ b/.github/workflows/release-ci.yml @@ -0,0 +1,61 @@ +name: release ci +on: + push: + tags: + - "*" +jobs: + linux: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + compiler: [g++, clang] + steps: + - name: Checkout last commit + uses: actions/checkout@v2 + with: + fetch-depth: 0 + submodules: "recursive" + + - name: Install dependency + run: ./action-install-linux.sh + + - name: Unit test + run: make test + + - name: Upload artifactory + run: echo TODO + macos: + runs-on: macos-latest + steps: + - name: Checkout last commit + uses: actions/checkout@v2 + with: + fetch-depth: 0 + submodules: "recursive" + + - name: Install dependency + run: ./action-install-macos.sh + + - name: Unit test + run: make xcode/test + + - name: Upload artifactory + run: echo TODO + windows: + runs-on: windows-latest + steps: + - name: Checkout last commit + uses: actions/checkout@v2 + with: + fetch-depth: 0 + submodules: "recursive" + + - name: Install dependency + run: .\action-install-windows.bat + + - name: Unit test + run: .\build.bat test + + - name: Upload artifactory + run: echo TODO