mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 11:30: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
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: ilammy/msvc-dev-cmd@v1
|
||||
- name: Set up Clang
|
||||
uses: egor-tensin/setup-clang@v1
|
||||
with:
|
||||
@ -14,9 +13,7 @@ jobs:
|
||||
- name: Compiling
|
||||
shell: bash
|
||||
run: |
|
||||
clang-cl.exe -std:c++17 -GR- -EHsc -O2 -Wno-deprecated-declarations -stdlib=libc++ -Fe:pocketpy src/main.cpp
|
||||
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
|
||||
clang++ -o pocketpy.exe src/main.cpp -Wfatal-errors --std=c++17 -O2 -Wall -Wno-sign-compare -Wno-unused-variable -fno-rtti -stdlib=libc++
|
||||
python3 scripts/run_tests.py
|
||||
python3 scripts/run_tests.py benchmark
|
||||
mkdir -p output/windows/x86_64
|
||||
@ -62,6 +59,7 @@ jobs:
|
||||
platform: x64
|
||||
- name: Compiling
|
||||
run: |
|
||||
sudo apt install -y libc++-15-dev libc++1-15 libc++abi-15-dev libc++abi1-15
|
||||
bash build_cpp.sh
|
||||
bash build_linux.sh
|
||||
python3 scripts/run_tests.py
|
||||
|
Loading…
x
Reference in New Issue
Block a user