Update pre-make.yml #9
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
name: C/C++ CI | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: cd into dir | |
- run: | | |
cd binary | |
- 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: pull it out | |
run: tar -xf premake-5.0.0-beta2-linux.tar.gz | |
- name: install gmake | |
run: | | |
sudo apt-get install gmake | |
- name: run premake | |
run: | | |
./premake5 gmake |