Bump to v0.11.4 (Codon 0.18 and LLVM 17) #14
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Seq CI | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - develop | |
| tags: | |
| - '*' | |
| pull_request: | |
| branches: | |
| - develop | |
| jobs: | |
| release: | |
| name: Create GitHub Release | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check | |
| if: contains(github.ref, 'tags/v') | |
| id: check | |
| run: echo "::set-output name=MAKE_RELEASE::true" | |
| - name: Create Release | |
| id: create_release | |
| if: steps.check.outputs.MAKE_RELEASE | |
| uses: actions/create-release@v1 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| tag_name: ${{ github.ref }} | |
| release_name: ${{ github.ref }} | |
| draft: false | |
| prerelease: false | |
| - name: Output Release URL File | |
| if: steps.check.outputs.MAKE_RELEASE | |
| run: echo "${{ steps.create_release.outputs.upload_url }}" > release_url.txt | |
| - name: Save Release URL File for Publish | |
| if: steps.check.outputs.MAKE_RELEASE | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: release_url | |
| path: release_url.txt | |
| manylinux: | |
| runs-on: ubuntu-latest | |
| name: Seq CI (manylinux) | |
| needs: [ release ] | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Main | |
| uses: ./.github/actions/build-manylinux | |
| - name: Load Release URL File | |
| if: contains(github.ref, 'tags/v') | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: release_url | |
| - name: Get Release URL | |
| id: get_release_url | |
| if: contains(github.ref, 'tags/v') | |
| run: | | |
| echo ::set-output name=file_name::${REPOSITORY_NAME##*/}-${TAG_REF_NAME##*/v} # RepositoryName-v1.0.0 | |
| value=`cat release_url/release_url.txt` | |
| echo ::set-output name=upload_url::$value | |
| env: | |
| TAG_REF_NAME: ${{ github.ref }} | |
| REPOSITORY_NAME: ${{ github.repository }} | |
| - name: Upload Release Asset | |
| if: contains(github.ref, 'tags/v') | |
| uses: actions/[email protected] | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| upload_url: ${{ steps.get_release_url.outputs.upload_url }} | |
| asset_path: ./seq-linux-x86_64.tar.gz | |
| asset_name: seq-linux-x86_64.tar.gz | |
| asset_content_type: application/gzip | |
| - name: Upload Artifacts | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: manylinux-x86_64 | |
| path: seq-linux-x86_64.tar.gz | |
| main: | |
| strategy: | |
| matrix: | |
| os: | |
| - ubuntu-latest | |
| - macos-11 | |
| runs-on: ${{ matrix.os }} | |
| name: Seq CI | |
| needs: [ release ] | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Build | |
| run: | | |
| sudo bash .github/actions/build-manylinux/entrypoint.sh $(pwd) | |
| - name: Load Release URL File | |
| if: contains(github.ref, 'tags/v') | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: release_url | |
| - name: Get Release URL | |
| id: get_release_url | |
| if: contains(github.ref, 'tags/v') | |
| run: | | |
| echo ::set-output name=file_name::${REPOSITORY_NAME##*/}-${TAG_REF_NAME##*/v} # RepositoryName-v1.0.0 | |
| value=`cat release_url/release_url.txt` | |
| echo ::set-output name=upload_url::$value | |
| env: | |
| TAG_REF_NAME: ${{ github.ref }} | |
| REPOSITORY_NAME: ${{ github.repository }} | |
| - name: Upload Release Asset | |
| if: contains(github.ref, 'tags/v') && startsWith(matrix.os, 'macos') | |
| uses: actions/[email protected] | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| upload_url: ${{ steps.get_release_url.outputs.upload_url }} | |
| asset_path: ./seq-darwin-x86_64.tar.gz | |
| asset_name: seq-darwin-x86_64.tar.gz | |
| asset_content_type: application/gzip | |
| - name: Upload Artifacts | |
| if: startsWith(matrix.os, 'macos') | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: ${{ matrix.os }}-x86_64 | |
| path: seq-darwin-x86_64.tar.gz | |
| - name: Upload Artifacts | |
| if: startsWith(matrix.os, 'ubuntu') | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: ${{ matrix.os }}-x86_64 | |
| path: seq-linux-x86_64.tar.gz |