mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-21 12:00:18 +00:00
Update main.yml
This commit is contained in:
parent
ac4b0a2740
commit
f95ca7f634
11
.github/workflows/main.yml
vendored
11
.github/workflows/main.yml
vendored
@ -6,12 +6,17 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: ilammy/msvc-dev-cmd@v1
|
- uses: ilammy/msvc-dev-cmd@v1
|
||||||
|
- name: Set up Clang
|
||||||
|
uses: egor-tensin/setup-clang@v1
|
||||||
|
with:
|
||||||
|
version: 15
|
||||||
|
platform: x64
|
||||||
- name: Compiling
|
- name: Compiling
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
CL -std:c++17 -GR- -EHsc -O2 -Fe:pocketpy src/main.cpp
|
clang-cl.exe -std:c++17 -GR- -EHsc -O2 -Fe:pocketpy src/main.cpp
|
||||||
mv src/pocketpy.h src/pocketpy.cpp
|
echo '#include "pocketpy.h"' > src/tmp.cpp
|
||||||
CL -std:c++17 -GR- -EHsc -O2 -LD -Fe:pocketpy src/pocketpy.cpp
|
clang-cl.exe -std:c++17 -GR- -EHsc -O2 -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user