test javascriptcore #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test javascriptcore | |
on: | |
workflow_dispatch: | |
jobs: | |
test_linux: | |
name: Linux | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install LibC++ | |
run: | | |
sudo apt-get update | |
sudo apt-get install clang | |
sudo apt-get install build-essential | |
sudo apt-get install libc++-dev | |
sudo apt-get install libc++abi-dev | |
- uses: actions/checkout@v2 | |
- name: Run Test | |
run: | | |
cd test | |
bash ./prepare_deps.sh | |
bash ./make_linux64.sh | |
./build_linux64/perf | |
test_windows: | |
name: Windows | |
runs-on: windows-2019 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: msys2/setup-msys2@v2 | |
with: | |
update: true | |
- name: Install Deps | |
shell: msys2 {0} | |
run: | | |
cd test | |
bash ./prepare_deps.sh | |
- uses: ilammy/msvc-dev-cmd@v1 | |
- name: Run build script | |
shell: cmd | |
run: | | |
cd test | |
.\make_win64.bat | |
.\build_win\Release\perf.exe | |
test_macos: | |
name: macOS | |
runs-on: macos-13 #macos-latest/macos-14 is arm64 https://github.com/actions/runner-images | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Run build script | |
run: | | |
sudo xcode-select -switch "/Applications/Xcode_15.2.app" | |
cd test | |
bash ./prepare_deps.sh | |
bash ./make_osx.sh | |
./build_osx/Release/perf | |