From 30c13762329d406c4dc155d72767ee407ab590e0 Mon Sep 17 00:00:00 2001 From: Andreas Källberg Date: Mon, 25 Sep 2023 12:43:19 +0200 Subject: Don't build twice for tests in CI --- .github/workflows/build-all-versions.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/build-all-versions.yml b/.github/workflows/build-all-versions.yml index f6f1b82a7..2bd856b7c 100644 --- a/.github/workflows/build-all-versions.yml +++ b/.github/workflows/build-all-versions.yml @@ -95,8 +95,7 @@ jobs: - name: Build run: | - stack build --system-ghc --stack-yaml stack-ghc${{ matrix.ghc }}.yaml - # stack build --system-ghc --test --bench --no-run-tests --no-run-benchmarks + stack build --test --no-run-tests --system-ghc --stack-yaml stack-ghc${{ matrix.ghc }}.yaml - name: Test run: | -- cgit v1.2.3 From 37f06a4ae845471009610d79d616eab0bdd903d3 Mon Sep 17 00:00:00 2001 From: Andreas Källberg Date: Mon, 25 Sep 2023 12:48:56 +0200 Subject: gh-actions: Don't use ubuntu-18 and macos-10.15 There are no longer any gihub actions runners available for these Note that this means we can't build for ubuntu-18 anymore, but that should hopefully no longer be relevant, since it's over 5 years old now. --- .github/workflows/build-binary-packages.yml | 2 +- .github/workflows/build-python-package.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/build-binary-packages.yml b/.github/workflows/build-binary-packages.yml index 493d5e774..d476aa161 100644 --- a/.github/workflows/build-binary-packages.yml +++ b/.github/workflows/build-binary-packages.yml @@ -14,8 +14,8 @@ jobs: strategy: matrix: os: - - ubuntu-18.04 - ubuntu-20.04 + - ubuntu-22.04 runs-on: ${{ matrix.os }} diff --git a/.github/workflows/build-python-package.yml b/.github/workflows/build-python-package.yml index 67cbba6dd..0f6e3c050 100644 --- a/.github/workflows/build-python-package.yml +++ b/.github/workflows/build-python-package.yml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: true matrix: - os: [ubuntu-18.04, macos-10.15] + os: [ubuntu-latest, macos-latest] steps: - uses: actions/checkout@v1 -- cgit v1.2.3 From cf1ef40789fc6761e46ecac1215cdb018972f2ae Mon Sep 17 00:00:00 2001 From: Andreas Källberg Date: Mon, 25 Sep 2023 12:53:55 +0200 Subject: gh-actions: Bump the python version cibuildwheel requires python >= 3.8 --- .github/workflows/build-python-package.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/build-python-package.yml b/.github/workflows/build-python-package.yml index 0f6e3c050..5e484bdd0 100644 --- a/.github/workflows/build-python-package.yml +++ b/.github/workflows/build-python-package.yml @@ -21,7 +21,7 @@ jobs: - uses: actions/setup-python@v1 name: Install Python with: - python-version: '3.7' + python-version: '3.x' - name: Install cibuildwheel run: | @@ -59,7 +59,7 @@ jobs: - uses: actions/setup-python@v2 name: Install Python with: - python-version: '3.7' + python-version: '3.x' - name: Build sdist run: cd src/runtime/python && python setup.py sdist -- cgit v1.2.3