Skip to content

Commit

Permalink
[ci] upgrade to Ubuntu 22.04
Browse files Browse the repository at this point in the history
[ci] PPAs aren't needed anymore.

[ci] invalidate linux opam cache
  • Loading branch information
Apprentice-Alchemist committed Mar 3, 2025
1 parent 6508421 commit a9d7708
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ jobs:


linux-build:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
env:
PLATFORM: linux64
OPAMYES: 1
Expand All @@ -123,7 +123,7 @@ jobs:
uses: actions/cache@v4
with:
path: ~/.opam/
key: ${{ runner.os }}-${{ matrix.ocaml }}-${{ hashFiles('./haxe.opam', './libs/') }}
key: ${{ runner.os }}-${{ matrix.ocaml }}-${{ hashFiles('./haxe.opam', './libs/') }}-1

- name: Install Neko from S3
run: |
Expand Down Expand Up @@ -213,7 +213,7 @@ jobs:

linux-test:
needs: linux-build
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
env:
PLATFORM: linux64
TEST: ${{matrix.target}}
Expand Down Expand Up @@ -300,7 +300,7 @@ jobs:

test-docgen:
needs: linux-build
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
env:
PLATFORM: linux64
HXCPP_COMPILE_CACHE: ~/hxcache
Expand Down Expand Up @@ -854,7 +854,7 @@ jobs:
deploy:
if: success() && github.repository_owner == 'HaxeFoundation' && github.event_name != 'pull_request'
needs: [linux-test, linux-arm64-test, mac-test, windows64-test]
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
# this is only needed for to get `COMMIT_DATE`...
# maybe https://github.community/t/expose-commit-timestamp-in-the-github-context-data/16460/3
Expand Down Expand Up @@ -924,7 +924,7 @@ jobs:
deploy_apidoc:
if: success() && github.repository_owner == 'HaxeFoundation' && github.event_name != 'pull_request'
needs: [linux-test, linux-arm64-test, mac-test, windows64-test]
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Install dependencies
run: |
Expand Down
12 changes: 6 additions & 6 deletions extra/github-actions/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
@import build-windows.yml

linux-build:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
env:
PLATFORM: linux64
OPAMYES: 1
Expand All @@ -42,7 +42,7 @@ jobs:
uses: actions/cache@v4
with:
path: ~/.opam/
key: ${{ runner.os }}-${{ matrix.ocaml }}-${{ hashFiles('./haxe.opam', './libs/') }}
key: ${{ runner.os }}-${{ matrix.ocaml }}-${{ hashFiles('./haxe.opam', './libs/') }}-1

@import install-neko-unix.yml

Expand Down Expand Up @@ -114,7 +114,7 @@ jobs:

linux-test:
needs: linux-build
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
env:
PLATFORM: linux64
TEST: ${{matrix.target}}
Expand Down Expand Up @@ -183,7 +183,7 @@ jobs:

test-docgen:
needs: linux-build
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
env:
PLATFORM: linux64
HXCPP_COMPILE_CACHE: ~/hxcache
Expand Down Expand Up @@ -478,7 +478,7 @@ jobs:
deploy:
if: success() && github.repository_owner == 'HaxeFoundation' && github.event_name != 'pull_request'
needs: [linux-test, linux-arm64-test, mac-test, windows64-test]
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
# this is only needed for to get `COMMIT_DATE`...
# maybe https://github.community/t/expose-commit-timestamp-in-the-github-context-data/16460/3
Expand Down Expand Up @@ -548,7 +548,7 @@ jobs:
deploy_apidoc:
if: success() && github.repository_owner == 'HaxeFoundation' && github.event_name != 'pull_request'
needs: [linux-test, linux-arm64-test, mac-test, windows64-test]
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Install dependencies
run: |
Expand Down

0 comments on commit a9d7708

Please sign in to comment.