diff options
author | Martin Matuska <martin@matuska.org> | 2019-11-18 02:11:03 +0100 |
---|---|---|
committer | Martin Matuska <martin@matuska.org> | 2019-11-18 02:11:03 +0100 |
commit | 8d7f119dd9bdddbc24b24449328d56b838f7c2fb (patch) | |
tree | f1be28b73462a4c365343005c1abb4cb86cc112e /.github/workflows/ci.yml | |
parent | c37e9567c39e5970f68736b55ac454798f638736 (diff) | |
download | libarchive-8d7f119dd9bdddbc24b24449328d56b838f7c2fb.tar.gz |
CI: move Windows MinGW and MSVC builds to GitHub Actions
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r-- | .github/workflows/ci.yml | 40 |
1 files changed, 35 insertions, 5 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fc709d0b..1b0debcb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,16 +1,13 @@ -name: Ubuntu +name: CI on: [push, pull_request] jobs: - Build-and-test: - + Ubuntu: runs-on: ubuntu-latest - strategy: matrix: bs: [autotools, cmake] - steps: - uses: actions/checkout@master - name: Install dependencies @@ -36,3 +33,36 @@ jobs: run: ./build/ci/build.sh -a install env: BS: ${{ matrix.bs }} + + Windows: + runs-on: windows-latest + strategy: + matrix: + be: [mingw-gcc, msvc] + steps: + - uses: actions/checkout@master + - name: Install dependencies + run: ./build/ci/github_actions/ci.cmd deplibs + shell: cmd + env: + BE: ${{ matrix.be }} + - name: Configure + run: ./build/ci/github_actions/ci.cmd configure + shell: cmd + env: + BE: ${{ matrix.be }} + - name: Build + run: ./build/ci/github_actions/ci.cmd build + shell: cmd + env: + BE: ${{ matrix.be }} + - name: Test + run: ./build/ci/github_actions/ci.cmd test + shell: cmd + env: + BE: ${{ matrix.be }} + - name: Install + run: ./build/ci/github_actions/ci.cmd install + shell: cmd + env: + BE: ${{ matrix.be }} |