Skip to content

Commit

Permalink
Update pre-make.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
keganpowers34 authored Dec 15, 2023
1 parent f0ab5da commit 564dd90
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions .github/workflows/pre-make.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,15 @@ jobs:
build:

runs-on: ubuntu-latest
steps:
- name: Setup Premake
uses: premake/setup-premake@v1
with:
version: 5.0.0-alpha16
- name: Generate project with tests
run: premake5 gmake2
- name: Build tests
run: make config=release tests
- name: Run tests
run: |
cd build/tests
./test_binary

steps:
- uses: actions/checkout@v3
- name: download premake
run: |
wget https://github.com/premake/premake-core/releases/download/v5.0.0-beta2/premake-5.0.0-beta2-linux.tar.gz
- name: exstract
run: tar -xf premake-5.0.0-beta2-linux.tar.gz
- name: make check
run: make check
- name: make distcheck
run: make distcheck

0 comments on commit 564dd90

Please sign in to comment.