diff options
author | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2022-01-28 14:17:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-28 14:17:59 +0100 |
commit | 4bd761d1d5b3b9ed6bb314a32b7ce1ba7c0ff558 (patch) | |
tree | b7210943e8555b184f845c060f235fbfacbc9b8c /.github/workflows | |
parent | 02b48f5206e7e71236024ad73668114cc66969d4 (diff) | |
download | spack-4bd761d1d5b3b9ed6bb314a32b7ce1ba7c0ff558.tar.gz spack-4bd761d1d5b3b9ed6bb314a32b7ce1ba7c0ff558.tar.bz2 spack-4bd761d1d5b3b9ed6bb314a32b7ce1ba7c0ff558.tar.xz spack-4bd761d1d5b3b9ed6bb314a32b7ce1ba7c0ff558.zip |
Update actions/setup-python to latest version (#28634)
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/bootstrap.yml | 4 | ||||
-rwxr-xr-x | .github/workflows/install_spack.sh | 16 | ||||
-rw-r--r-- | .github/workflows/macos_python.yml | 6 | ||||
-rw-r--r-- | .github/workflows/unit_tests.yaml | 14 |
4 files changed, 14 insertions, 26 deletions
diff --git a/.github/workflows/bootstrap.yml b/.github/workflows/bootstrap.yml index ec7d9a3898..1208d8e3b1 100644 --- a/.github/workflows/bootstrap.yml +++ b/.github/workflows/bootstrap.yml @@ -158,7 +158,7 @@ jobs: run: | brew install tree - uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # @v2 - - uses: actions/setup-python@dc73133d4da04e56a135ae2246682783cc7c7cb6 # @v2 + - uses: actions/setup-python@f38219332975fe8f9c04cca981d674bf22aea1d3 # @v2 with: python-version: ${{ matrix.python-version }} - name: Bootstrap clingo @@ -175,7 +175,7 @@ jobs: python-version: ['2.7', '3.5', '3.6', '3.7', '3.8', '3.9'] steps: - uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # @v2 - - uses: actions/setup-python@dc73133d4da04e56a135ae2246682783cc7c7cb6 # @v2 + - uses: actions/setup-python@f38219332975fe8f9c04cca981d674bf22aea1d3 # @v2 with: python-version: ${{ matrix.python-version }} - name: Setup repo and non-root user diff --git a/.github/workflows/install_spack.sh b/.github/workflows/install_spack.sh index bc1c5f43ec..be8ec8af21 100755 --- a/.github/workflows/install_spack.sh +++ b/.github/workflows/install_spack.sh @@ -2,19 +2,7 @@ . share/spack/setup-env.sh echo -e "config:\n build_jobs: 2" > etc/spack/config.yaml spack config add "packages:all:target:[x86_64]" -# TODO: remove this explicit setting once apple-clang detection is fixed -cat <<EOF > etc/spack/compilers.yaml -compilers: -- compiler: - spec: apple-clang@11.0.3 - paths: - cc: /usr/bin/clang - cxx: /usr/bin/clang++ - f77: /usr/local/bin/gfortran-9 - fc: /usr/local/bin/gfortran-9 - modules: [] - operating_system: catalina - target: x86_64 -EOF +spack compiler find spack compiler info apple-clang spack debug report +spack solve zlib diff --git a/.github/workflows/macos_python.yml b/.github/workflows/macos_python.yml index c3ff5957b5..c1e77a7f24 100644 --- a/.github/workflows/macos_python.yml +++ b/.github/workflows/macos_python.yml @@ -25,7 +25,7 @@ jobs: runs-on: macos-latest steps: - uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # @v2 - - uses: actions/setup-python@dc73133d4da04e56a135ae2246682783cc7c7cb6 # @v2 + - uses: actions/setup-python@f38219332975fe8f9c04cca981d674bf22aea1d3 # @v2 with: python-version: 3.9 - name: spack install @@ -40,7 +40,7 @@ jobs: timeout-minutes: 700 steps: - uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # @v2 - - uses: actions/setup-python@dc73133d4da04e56a135ae2246682783cc7c7cb6 # @v2 + - uses: actions/setup-python@f38219332975fe8f9c04cca981d674bf22aea1d3 # @v2 with: python-version: 3.9 - name: spack install @@ -53,7 +53,7 @@ jobs: runs-on: macos-latest steps: - uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # @v2 - - uses: actions/setup-python@dc73133d4da04e56a135ae2246682783cc7c7cb6 # @v2 + - uses: actions/setup-python@f38219332975fe8f9c04cca981d674bf22aea1d3 # @v2 with: python-version: 3.9 - name: spack install diff --git a/.github/workflows/unit_tests.yaml b/.github/workflows/unit_tests.yaml index 2f36957f7d..5935a81dd1 100644 --- a/.github/workflows/unit_tests.yaml +++ b/.github/workflows/unit_tests.yaml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # @v2 - - uses: actions/setup-python@dc73133d4da04e56a135ae2246682783cc7c7cb6 # @v2 + - uses: actions/setup-python@f38219332975fe8f9c04cca981d674bf22aea1d3 # @v2 with: python-version: 3.9 - name: Install Python Packages @@ -34,7 +34,7 @@ jobs: - uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # @v2 with: fetch-depth: 0 - - uses: actions/setup-python@dc73133d4da04e56a135ae2246682783cc7c7cb6 # @v2 + - uses: actions/setup-python@f38219332975fe8f9c04cca981d674bf22aea1d3 # @v2 with: python-version: 3.9 - name: Install Python packages @@ -109,7 +109,7 @@ jobs: - uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # @v2 with: fetch-depth: 0 - - uses: actions/setup-python@dc73133d4da04e56a135ae2246682783cc7c7cb6 # @v2 + - uses: actions/setup-python@f38219332975fe8f9c04cca981d674bf22aea1d3 # @v2 with: python-version: ${{ matrix.python-version }} - name: Install System packages @@ -170,7 +170,7 @@ jobs: - uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # @v2 with: fetch-depth: 0 - - uses: actions/setup-python@dc73133d4da04e56a135ae2246682783cc7c7cb6 # @v2 + - uses: actions/setup-python@f38219332975fe8f9c04cca981d674bf22aea1d3 # @v2 with: python-version: 3.9 - name: Install System packages @@ -236,7 +236,7 @@ jobs: - uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # @v2 with: fetch-depth: 0 - - uses: actions/setup-python@dc73133d4da04e56a135ae2246682783cc7c7cb6 # @v2 + - uses: actions/setup-python@f38219332975fe8f9c04cca981d674bf22aea1d3 # @v2 with: python-version: 3.9 - name: Install System packages @@ -285,7 +285,7 @@ jobs: - uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # @v2 with: fetch-depth: 0 - - uses: actions/setup-python@dc73133d4da04e56a135ae2246682783cc7c7cb6 # @v2 + - uses: actions/setup-python@f38219332975fe8f9c04cca981d674bf22aea1d3 # @v2 with: python-version: ${{ matrix.python-version }} - name: Install Python packages @@ -328,7 +328,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # @v2 - - uses: actions/setup-python@dc73133d4da04e56a135ae2246682783cc7c7cb6 # @v2 + - uses: actions/setup-python@f38219332975fe8f9c04cca981d674bf22aea1d3 # @v2 with: python-version: 3.9 - name: Install Python packages |