forked from mafemergency/byond-tracy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
05fd873
commit 49097d6
Showing
1 changed file
with
11 additions
and
6 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,9 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Install packages | ||
run: sudo apt-get install gcc-multilib g++-multilib | ||
|
||
- name: Build Linux (GCC) | ||
run: gcc -std=c11 -m32 -shared -fPIC -Ofast -s -DNDEBUG prof.c -pthread -o libprof.so | ||
|
||
|
@@ -30,20 +33,22 @@ jobs: | |
if-no-files-found: error | ||
|
||
build-windows: | ||
runs-on: windows-latest | ||
runs-on: windows-2019 | ||
|
||
strategy: | ||
fail-fast: false | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: msys2/setup-msys2@v2 | ||
- name: Set up Clang | ||
uses: egor-tensin/setup-clang@v1 | ||
with: | ||
msystem: CLANG32 | ||
- shell: msys2 {0} | ||
run: | | ||
clang.exe -std=c11 -m32 -shared -Ofast3 -DNDEBUG -fuse-ld=lld-link prof.c -lws2_32 -o tracy.dll | ||
version: latest | ||
platform: i686 | ||
|
||
- name: Compile | ||
run: clang -std=c11 -m32 -shared -Ofast3 -DNDEBUG -fuse-ld=lld-link prof.c -lws2_32 -o tracy.dll | ||
|
||
- name: Upload a Build Artifact | ||
uses: actions/[email protected] | ||
|