|
@@ -255,7 +255,7 @@ jobs:
|
|
|
|
|
|
|
|
|
|
linux-build:
|
|
linux-build:
|
|
- runs-on: ubuntu-20.04
|
|
|
|
|
|
+ runs-on: ubuntu-22.04
|
|
env:
|
|
env:
|
|
PLATFORM: linux64
|
|
PLATFORM: linux64
|
|
OPAMYES: 1
|
|
OPAMYES: 1
|
|
@@ -298,10 +298,10 @@ jobs:
|
|
- name: Install dependencies
|
|
- name: Install dependencies
|
|
run: |
|
|
run: |
|
|
set -ex
|
|
set -ex
|
|
- sudo add-apt-repository ppa:avsm/ppa -y # provides OPAM 2
|
|
|
|
- sudo add-apt-repository ppa:haxe/ocaml -y # provides newer version of mbedtls
|
|
|
|
sudo apt-get update -qqy
|
|
sudo apt-get update -qqy
|
|
- sudo apt-get install -qqy ocaml-nox camlp5 opam libpcre2-dev zlib1g-dev libgtk2.0-dev libmbedtls-dev ninja-build libstring-shellquote-perl libipc-system-simple-perl
|
|
|
|
|
|
+ sudo apt-get install -qqy darcs bubblewrap ocaml-nox libpcre2-dev zlib1g-dev libgtk2.0-dev libmbedtls-dev ninja-build libstring-shellquote-perl libipc-system-simple-perl
|
|
|
|
+ curl -sSL https://github.com/ocaml/opam/releases/download/2.3.0/opam-2.3.0-x86_64-linux -o $RUNNER_TEMP/opam
|
|
|
|
+ sudo install $RUNNER_TEMP/opam /usr/local/bin/opam
|
|
|
|
|
|
- name: Install OCaml libraries
|
|
- name: Install OCaml libraries
|
|
if: steps.cache-opam.outputs.cache-hit != 'true'
|
|
if: steps.cache-opam.outputs.cache-hit != 'true'
|
|
@@ -363,7 +363,7 @@ jobs:
|
|
|
|
|
|
linux-test:
|
|
linux-test:
|
|
needs: linux-build
|
|
needs: linux-build
|
|
- runs-on: ubuntu-20.04
|
|
|
|
|
|
+ runs-on: ubuntu-22.04
|
|
env:
|
|
env:
|
|
PLATFORM: linux64
|
|
PLATFORM: linux64
|
|
TEST: ${{matrix.target}}
|
|
TEST: ${{matrix.target}}
|
|
@@ -450,7 +450,7 @@ jobs:
|
|
|
|
|
|
test-docgen:
|
|
test-docgen:
|
|
needs: linux-build
|
|
needs: linux-build
|
|
- runs-on: ubuntu-20.04
|
|
|
|
|
|
+ runs-on: ubuntu-22.04
|
|
env:
|
|
env:
|
|
PLATFORM: linux64
|
|
PLATFORM: linux64
|
|
HXCPP_COMPILE_CACHE: ~/hxcache
|
|
HXCPP_COMPILE_CACHE: ~/hxcache
|
|
@@ -1105,7 +1105,7 @@ jobs:
|
|
deploy:
|
|
deploy:
|
|
if: success() && github.repository_owner == 'HaxeFoundation' && github.event_name != 'pull_request'
|
|
if: success() && github.repository_owner == 'HaxeFoundation' && github.event_name != 'pull_request'
|
|
needs: [linux-test, linux-arm64-test, mac-test, windows-test, windows64-test]
|
|
needs: [linux-test, linux-arm64-test, mac-test, windows-test, windows64-test]
|
|
- runs-on: ubuntu-20.04
|
|
|
|
|
|
+ runs-on: ubuntu-22.04
|
|
steps:
|
|
steps:
|
|
# this is only needed for to get `COMMIT_DATE`...
|
|
# this is only needed for to get `COMMIT_DATE`...
|
|
# maybe https://github.community/t/expose-commit-timestamp-in-the-github-context-data/16460/3
|
|
# maybe https://github.community/t/expose-commit-timestamp-in-the-github-context-data/16460/3
|
|
@@ -1181,7 +1181,7 @@ jobs:
|
|
deploy_apidoc:
|
|
deploy_apidoc:
|
|
if: success() && github.repository_owner == 'HaxeFoundation' && github.event_name != 'pull_request'
|
|
if: success() && github.repository_owner == 'HaxeFoundation' && github.event_name != 'pull_request'
|
|
needs: [linux-test, linux-arm64-test, mac-test, windows-test, windows64-test]
|
|
needs: [linux-test, linux-arm64-test, mac-test, windows-test, windows64-test]
|
|
- runs-on: ubuntu-20.04
|
|
|
|
|
|
+ runs-on: ubuntu-22.04
|
|
steps:
|
|
steps:
|
|
- name: Install dependencies
|
|
- name: Install dependencies
|
|
run: |
|
|
run: |
|