Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
FluffyGhoster authored Dec 4, 2023
1 parent 05fd873 commit 49097d6
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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]
Expand Down

0 comments on commit 49097d6

Please sign in to comment.