on master help sign in
CICD: Use fixed OS versions instead of 'latest' ones
4391906Martin Nordholts
.github/workflows/CICD.yml+16−17
@@ -12,7 +12,7 @@ on: [push, pull_request]
12jobs:
12jobs:
13 min_version:
13 min_version:
14 name: Minimum supported rust version
14 name: Minimum supported rust version
15− runs-on: ubuntu-latest
15+ runs-on: ubuntu-18.04
16 steps:
16 steps:
17 - name: Git checkout
17 - name: Git checkout
18 uses: actions/checkout@v2
18 uses: actions/checkout@v2
@@ -35,7 +35,7 @@ jobs:
35
35
36 test_with_new_syntaxes_and_themes:
36 test_with_new_syntaxes_and_themes:
37 name: Test with new syntaxes and themes
37 name: Test with new syntaxes and themes
38− runs-on: ubuntu-latest
38+ runs-on: ubuntu-18.04
39 steps:
39 steps:
40 - name: Git checkout
40 - name: Git checkout
41 uses: actions/checkout@v2
41 uses: actions/checkout@v2
@@ -83,17 +83,17 @@ jobs:
83 fail-fast: false
83 fail-fast: false
84 matrix:
84 matrix:
85 job:
85 job:
86− - { os: ubuntu-latest , target: arm-unknown-linux-gnueabihf , use-cross: true }
86+ - { os: ubuntu-18.04 , target: arm-unknown-linux-gnueabihf , use-cross: true }
87− - { os: ubuntu-18.04 , target: aarch64-unknown-linux-gnu , use-cross: true }
87+ - { os: ubuntu-18.04 , target: aarch64-unknown-linux-gnu , use-cross: true }
88− - { os: ubuntu-18.04 , target: i686-unknown-linux-gnu , use-cross: true }
88+ - { os: ubuntu-18.04 , target: i686-unknown-linux-gnu , use-cross: true }
89− - { os: ubuntu-18.04 , target: i686-unknown-linux-musl , use-cross: true }
89+ - { os: ubuntu-18.04 , target: i686-unknown-linux-musl , use-cross: true }
90− - { os: ubuntu-18.04 , target: x86_64-unknown-linux-gnu }
90+ - { os: ubuntu-18.04 , target: x86_64-unknown-linux-gnu }
91− - { os: ubuntu-18.04 , target: x86_64-unknown-linux-musl , use-cross: true }
91+ - { os: ubuntu-18.04 , target: x86_64-unknown-linux-musl , use-cross: true }
92− - { os: macos-latest , target: x86_64-apple-darwin }
92+ - { os: macos-10.15 , target: x86_64-apple-darwin }
93− # - { os: windows-latest , target: i686-pc-windows-gnu } ## disabled; error: linker `i686-w64-mingw32-gcc` not found
93+ # - { os: windows-2019 , target: i686-pc-windows-gnu } ## disabled; error: linker `i686-w64-mingw32-gcc` not found
94− - { os: windows-latest , target: i686-pc-windows-msvc }
94+ - { os: windows-2019 , target: i686-pc-windows-msvc }
95− - { os: windows-latest , target: x86_64-pc-windows-gnu }
95+ - { os: windows-2019 , target: x86_64-pc-windows-gnu }
96− - { os: windows-latest , target: x86_64-pc-windows-msvc }
96+ - { os: windows-2019 , target: x86_64-pc-windows-msvc }
97 steps:
97 steps:
98 - name: Git checkout
98 - name: Git checkout
99 uses: actions/checkout@v2
99 uses: actions/checkout@v2
@@ -361,11 +361,10 @@ jobs:
361 strategy:
361 strategy:
362 fail-fast: true
362 fail-fast: true
363 matrix:
363 matrix:
364− # job: [ { os: ubuntu-latest }, { os: macos-latest }, { os: windows-latest } ]
365 job:
364 job:
366− - { os: ubuntu-latest , toolchain: nightly-2020-04-29 }
365+ - { os: ubuntu-18.04 , toolchain: nightly-2020-04-29 }
367− - { os: macos-latest , toolchain: nightly-2020-04-29 }
366+ - { os: macos-10.15 , toolchain: nightly-2020-04-29 }
368− - { os: windows-latest , toolchain: nightly-2020-04-29-x86_64-pc-windows-gnu }
367+ - { os: windows-2019 , toolchain: nightly-2020-04-29-x86_64-pc-windows-gnu }
369 steps:
368 steps:
370 - uses: actions/checkout@v2
369 - uses: actions/checkout@v2
371 - name: Initialize workflow variables
370 - name: Initialize workflow variables