mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-11 05:25:32 +03:00
CI: Use the Setup action for the WASM REPL
This ensures we install ccache, for example.
This commit is contained in:
parent
efc88c73fa
commit
3d6d2b2589
Notes:
sideshowbarker
2024-07-17 03:03:37 +09:00
Author: https://github.com/trflynn89 Commit: https://github.com/SerenityOS/serenity/commit/3d6d2b2589 Pull-request: https://github.com/SerenityOS/serenity/pull/24253
34
.github/workflows/wasm.yml
vendored
34
.github/workflows/wasm.yml
vendored
@ -13,35 +13,33 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.x'
|
||||
- name: "Install Ubuntu dependencies"
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y ninja-build gcc-13 g++-13 libstdc++-13-dev
|
||||
- name: "Install emscripten"
|
||||
uses: mymindstorm/setup-emsdk@v14
|
||||
with:
|
||||
version: 3.1.25
|
||||
- name: "Check versions"
|
||||
run: |
|
||||
set +e
|
||||
emcc --version
|
||||
ninja --version
|
||||
gcc --version
|
||||
- name: Checkout SerenityOS/serenity
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Checkout SerenityOS/libjs-data libjs-wasm
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: SerenityOS/libjs-data
|
||||
path: libjs-data
|
||||
ref: libjs-wasm
|
||||
|
||||
- name: "Set up environment"
|
||||
uses: ./.github/actions/setup
|
||||
with:
|
||||
os: 'Linux'
|
||||
arch: 'Lagom'
|
||||
|
||||
- name: "Install emscripten"
|
||||
uses: mymindstorm/setup-emsdk@v14
|
||||
with:
|
||||
version: 3.1.25
|
||||
|
||||
- name: "Create build directories"
|
||||
run: |
|
||||
mkdir -p ${{ github.workspace }}/Build/caches/TZDB
|
||||
mkdir -p ${{ github.workspace }}/Build/caches/UCD
|
||||
mkdir -p ${{ github.workspace }}/Build/caches/CLDR
|
||||
|
||||
- name: "TimeZoneData cache"
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
|
Loading…
Reference in New Issue
Block a user