diff options
| author | Pietro Albini <pietro.albini@ferrous-systems.com> | 2022-09-26 12:21:51 +0200 |
|---|---|---|
| committer | Pietro Albini <pietro.albini@ferrous-systems.com> | 2022-09-26 12:29:10 +0200 |
| commit | d9edc8e8691d3b65665a9fb12d4dcd1a3fe4cab6 (patch) | |
| tree | bc6e50ea0f3f3afd17b921f5bc6380038db79d4b | |
| parent | 1724042e228c331832d12cf9f198696c750f51ba (diff) | |
| download | rust-d9edc8e8691d3b65665a9fb12d4dcd1a3fe4cab6.tar.gz rust-d9edc8e8691d3b65665a9fb12d4dcd1a3fe4cab6.zip | |
harden ci configuration
| -rw-r--r-- | .github/workflows/ci.yml | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8b36fa0c1c7..412344cfa3d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,6 +4,9 @@ on: - push - pull_request +permissions: + contents: read + env: # Enable backtraces for easier debugging RUST_BACKTRACE: 1 @@ -16,9 +19,9 @@ jobs: fail-fast: false matrix: libgccjit_version: - - { gcc: "libgccjit.so", extra: "" } - - { gcc: "libgccjit_without_int128.so", extra: "" } - - { gcc: "libgccjit12.so", extra: "--no-default-features" } + - { gcc: "libgccjit.so", extra: "", artifacts_branch: "master" } + - { gcc: "libgccjit_without_int128.so", extra: "", artifacts_branch: "master-without-128bit-integers" } + - { gcc: "libgccjit12.so", extra: "--no-default-features", artifacts_branch: "gcc12" } commands: [ "--mini-tests", "--std-tests", @@ -49,6 +52,8 @@ jobs: name: ${{ matrix.libgccjit_version.gcc }} path: gcc-build repo: antoyo/gcc + branch: ${{ matrix.libgccjit_version.artifacts_branch }} + event: push search_artifacts: true # Because, instead, the action only check the last job ran and that won't work since we want multiple artifacts. - name: Setup path to libgccjit |
