Skip to content

Commit

Permalink
Add workflow for building on every push
Browse files Browse the repository at this point in the history
  • Loading branch information
PucklaJ committed Feb 16, 2024
1 parent c154afe commit ae00bcf
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: build-on-push
run-name: ${{ github.actor }} is running this workflow
on: [push]
jobs:
linux-x86_64-static:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: 2.8.6
- run: xmake f -p linux -a x86_64 -m release --build_test=y
- run: xmake -wvD
linux-x86_64-static-profiling:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: 2.8.6
- run: xmake f -p linux -a x86_64 -m release --build_test=y --profiling=y
- run: xmake -wvD
linux-x86_64-static-non-thread-safe:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: 2.8.6
- run: xmake f -p linux -a x86_64 -m release --build_test=y --thread_safe=n
- run: xmake -wvD
linux-x86_64-static-profiling-non-thread-safe:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: 2.8.6
- run: xmake f -p linux -a x86_64 -m release --build_test=y --profiling=y --thread_safe=n
- run: xmake -wvD
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Default
.*
!.gitignore
!.github/

# Xmake cache
.xmake/
Expand Down

0 comments on commit ae00bcf

Please sign in to comment.