diff options
author | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2020-11-11 19:49:36 +0300 |
---|---|---|
committer | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2020-11-11 19:49:36 +0300 |
commit | f8b690df540b34b83fe3bf9f340c93ae1d77039a (patch) | |
tree | 703dc940e88292beaaf8275ea73ff5a4f87f7ec1 /.github | |
parent | c8f4ae8b03bfe68544bbaeced75a11cef552e55b (diff) |
Even more debug printing for clang path view.
Try having github actions publish a release per commit, with binaries.
Fix status code prebuilt binaries on Windows.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/unittests_linux.yml | 4 | ||||
-rw-r--r-- | .github/workflows/unittests_macos.yml | 52 | ||||
-rw-r--r-- | .github/workflows/unittests_windows.yml | 2 |
3 files changed, 48 insertions, 10 deletions
diff --git a/.github/workflows/unittests_linux.yml b/.github/workflows/unittests_linux.yml index 4149f40d..54e0435c 100644 --- a/.github/workflows/unittests_linux.yml +++ b/.github/workflows/unittests_linux.yml @@ -15,7 +15,7 @@ jobs: strategy: fail-fast: false matrix: - compiler: [clang++, g++, clang++-11, arm-linux-gnueabihf-g++] + compiler: [clang++, g++, libc++, arm-linux-gnueabihf-g++] configuration: [error_code, status_code] env: NAME: Linux-${{ matrix.configuration }}-${{ matrix.compiler }} @@ -29,7 +29,7 @@ jobs: run: | sudo apt-get remove -y libstdc++-10-dev g++-10 gcc-10 sudo apt-get autoremove - if [ "${{ matrix.compiler }}" = "clang++-11" ]; then + if [ "${{ matrix.compiler }}" = "libc++" ]; then wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add -; sudo add-apt-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-11 main"; sudo apt update; diff --git a/.github/workflows/unittests_macos.yml b/.github/workflows/unittests_macos.yml index 7864bb9f..14691592 100644 --- a/.github/workflows/unittests_macos.yml +++ b/.github/workflows/unittests_macos.yml @@ -48,8 +48,6 @@ jobs: needs: [MacOS] runs-on: ubuntu-latest if: success() || failure() - env: - NAME: Documentation steps: - name: Download Artifacts @@ -63,9 +61,51 @@ jobs: check_name: Unit Test Results github_token: ${{ secrets.GITHUB_TOKEN }} files: '**/merged_junit_results.xml' + + publish-binaries: + name: "Publish Prebuilt Binaries" + needs: [MacOS] + runs-on: ubuntu-latest + if: success() + + steps: + - uses: actions/checkout@v2 + + - name: Download Artifacts + uses: actions/download-artifact@v2 + with: + path: artifacts + + - name: Create Release + id: create_release + uses: actions/create-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + tag_name: ${{ github.ref }} + release_name: Commit ${{ github.sha }} + body: ${{ github.event.head_commit.message }} + draft: false + prerelease: true + + - name: Upload Release Asset 1 + id: upload-release-asset-1 + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: ${{ steps.create_release.outputs.upload_url }} + asset_path: artifacts/Mac OS error_code prebuilt binaries/llfio-v2.0-binaries-darwin-x64.tgz + asset_name: llfio-v2.0-binaries-darwin-x64-error_code.tgz + asset_content_type: application/gzip - - name: Checkout Documentation - uses: actions/checkout@v2 + - name: Upload Release Asset 2 + id: upload-release-asset-2 + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - fetch-depth: 0 - submodules: recursive + upload_url: ${{ steps.create_release.outputs.upload_url }} + asset_path: artifacts/Mac OS status_code prebuilt binaries/llfio-v2.0-binaries-darwin-x64.tgz + asset_name: llfio-v2.0-binaries-darwin-x64-status_code.tgz + asset_content_type: application/gzip diff --git a/.github/workflows/unittests_windows.yml b/.github/workflows/unittests_windows.yml index ba4ec7dd..86e07c80 100644 --- a/.github/workflows/unittests_windows.yml +++ b/.github/workflows/unittests_windows.yml @@ -48,8 +48,6 @@ jobs: needs: [WinVS2019] runs-on: ubuntu-latest if: success() || failure() - env: - NAME: Documentation steps: - name: Download Artifacts |