mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 19:40:18 +00:00
Update main.yml
This commit is contained in:
parent
0140ef7960
commit
5df55de6f3
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
@ -5,7 +5,6 @@ jobs:
|
|||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: ilammy/msvc-dev-cmd@v1
|
|
||||||
- name: Set up Clang
|
- name: Set up Clang
|
||||||
uses: egor-tensin/setup-clang@v1
|
uses: egor-tensin/setup-clang@v1
|
||||||
with:
|
with:
|
||||||
@ -14,9 +13,7 @@ jobs:
|
|||||||
- name: Compiling
|
- name: Compiling
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
clang-cl.exe -std:c++17 -GR- -EHsc -O2 -Wno-deprecated-declarations -stdlib=libc++ -Fe:pocketpy src/main.cpp
|
clang++ -o pocketpy.exe src/main.cpp -Wfatal-errors --std=c++17 -O2 -Wall -Wno-sign-compare -Wno-unused-variable -fno-rtti -stdlib=libc++
|
||||||
echo '#include "pocketpy.h"' > src/tmp.cpp
|
|
||||||
clang-cl.exe -std:c++17 -GR- -EHsc -O2 -Wno-deprecated-declarations -stdlib=libc++ -LD -Fe:pocketpy src/tmp.cpp
|
|
||||||
python3 scripts/run_tests.py
|
python3 scripts/run_tests.py
|
||||||
python3 scripts/run_tests.py benchmark
|
python3 scripts/run_tests.py benchmark
|
||||||
mkdir -p output/windows/x86_64
|
mkdir -p output/windows/x86_64
|
||||||
@ -62,6 +59,7 @@ jobs:
|
|||||||
platform: x64
|
platform: x64
|
||||||
- name: Compiling
|
- name: Compiling
|
||||||
run: |
|
run: |
|
||||||
|
sudo apt install -y libc++-15-dev libc++1-15 libc++abi-15-dev libc++abi1-15
|
||||||
bash build_cpp.sh
|
bash build_cpp.sh
|
||||||
bash build_linux.sh
|
bash build_linux.sh
|
||||||
python3 scripts/run_tests.py
|
python3 scripts/run_tests.py
|
||||||
|
Loading…
x
Reference in New Issue
Block a user