summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2023-10-11 19:03:17 +0200
committerGitHub <noreply@github.com>2023-10-11 19:03:17 +0200
commit861bb4d35a804be350dc576480ceef0323938580 (patch)
treee8faec7888b17427a99dbb0ffa8a7152e5ba7349 /.github
parent65e7ec0509a2191b0a323730e280bba8bd30395b (diff)
downloadspack-861bb4d35a804be350dc576480ceef0323938580.tar.gz
spack-861bb4d35a804be350dc576480ceef0323938580.tar.bz2
spack-861bb4d35a804be350dc576480ceef0323938580.tar.xz
spack-861bb4d35a804be350dc576480ceef0323938580.zip
Update bootstrap buildcache to support Python 3.12 (#40404)
* Add support for Python 3.12 * Use optimized build of clingo
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/bootstrap.yml14
-rw-r--r--.github/workflows/unit_tests.yaml8
2 files changed, 14 insertions, 8 deletions
diff --git a/.github/workflows/bootstrap.yml b/.github/workflows/bootstrap.yml
index fdfcf0fd57..ab98e83f4c 100644
--- a/.github/workflows/bootstrap.yml
+++ b/.github/workflows/bootstrap.yml
@@ -42,8 +42,8 @@ jobs:
shell: runuser -u spack-test -- bash {0}
run: |
source share/spack/setup-env.sh
+ spack bootstrap disable github-actions-v0.5
spack bootstrap disable github-actions-v0.4
- spack bootstrap disable github-actions-v0.3
spack external find cmake bison
spack -d solve zlib
tree ~/.spack/bootstrap/store/
@@ -80,8 +80,8 @@ jobs:
shell: runuser -u spack-test -- bash {0}
run: |
source share/spack/setup-env.sh
+ spack bootstrap disable github-actions-v0.5
spack bootstrap disable github-actions-v0.4
- spack bootstrap disable github-actions-v0.3
spack external find cmake bison
spack -d solve zlib
tree ~/.spack/bootstrap/store/
@@ -145,8 +145,8 @@ jobs:
- name: Bootstrap clingo
run: |
source share/spack/setup-env.sh
+ spack bootstrap disable github-actions-v0.5
spack bootstrap disable github-actions-v0.4
- spack bootstrap disable github-actions-v0.3
spack external find cmake bison
spack -d solve zlib
tree ~/.spack/bootstrap/store/
@@ -163,8 +163,8 @@ jobs:
run: |
source share/spack/setup-env.sh
export PATH=/usr/local/opt/bison@2.7/bin:$PATH
+ spack bootstrap disable github-actions-v0.5
spack bootstrap disable github-actions-v0.4
- spack bootstrap disable github-actions-v0.3
spack external find --not-buildable cmake bison
spack -d solve zlib
tree ~/.spack/bootstrap/store/
@@ -265,6 +265,7 @@ jobs:
shell: runuser -u spack-test -- bash {0}
run: |
source share/spack/setup-env.sh
+ spack bootstrap disable github-actions-v0.4
spack bootstrap disable spack-install
spack -d gpg list
tree ~/.spack/bootstrap/store/
@@ -302,8 +303,8 @@ jobs:
run: |
source share/spack/setup-env.sh
spack solve zlib
+ spack bootstrap disable github-actions-v0.5
spack bootstrap disable github-actions-v0.4
- spack bootstrap disable github-actions-v0.3
spack -d gpg list
tree ~/.spack/bootstrap/store/
@@ -320,6 +321,7 @@ jobs:
- name: Bootstrap GnuPG
run: |
source share/spack/setup-env.sh
+ spack bootstrap disable github-actions-v0.4
spack bootstrap disable spack-install
spack -d gpg list
tree ~/.spack/bootstrap/store/
@@ -338,8 +340,8 @@ jobs:
run: |
source share/spack/setup-env.sh
spack solve zlib
+ spack bootstrap disable github-actions-v0.5
spack bootstrap disable github-actions-v0.4
- spack bootstrap disable github-actions-v0.3
spack -d gpg list
tree ~/.spack/bootstrap/store/
diff --git a/.github/workflows/unit_tests.yaml b/.github/workflows/unit_tests.yaml
index e82531677d..4e1d909f02 100644
--- a/.github/workflows/unit_tests.yaml
+++ b/.github/workflows/unit_tests.yaml
@@ -15,7 +15,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
- python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
+ python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
concretizer: ['clingo']
on_develop:
- ${{ github.ref == 'refs/heads/develop' }}
@@ -45,6 +45,10 @@ jobs:
os: ubuntu-latest
concretizer: 'clingo'
on_develop: false
+ - python-version: '3.11'
+ os: ubuntu-latest
+ concretizer: 'clingo'
+ on_develop: false
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # @v2
@@ -185,7 +189,7 @@ jobs:
runs-on: macos-latest
strategy:
matrix:
- python-version: ["3.10"]
+ python-version: ["3.11"]
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # @v2
with: