mirror of
https://github.com/diamante0018/MonitorRam.git
synced 2025-05-09 22:14:54 +00:00
build: update
This commit is contained in:
parent
942b0b98da
commit
27f931d11a
16
.github/workflows/build.yml
vendored
16
.github/workflows/build.yml
vendored
@ -8,6 +8,14 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- "*"
|
- "*"
|
||||||
types: [opened, synchronize, reopened]
|
types: [opened, synchronize, reopened]
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
|
env:
|
||||||
|
PREMAKE_VERSION: "5.0.0-beta2"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-linux:
|
build-linux:
|
||||||
name: Build Linux
|
name: Build Linux
|
||||||
@ -25,7 +33,7 @@ jobs:
|
|||||||
config: release
|
config: release
|
||||||
steps:
|
steps:
|
||||||
- name: Check out files
|
- name: Check out files
|
||||||
uses: actions/checkout@v3.5.3
|
uses: actions/checkout@main
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
@ -39,9 +47,9 @@ jobs:
|
|||||||
sudo apt-get install crossbuild-essential-arm64 -y
|
sudo apt-get install crossbuild-essential-arm64 -y
|
||||||
|
|
||||||
- name: Install Premake5
|
- name: Install Premake5
|
||||||
uses: abel0b/setup-premake@v2.3
|
uses: diamante0018/setup-premake@master
|
||||||
with:
|
with:
|
||||||
version: "5.0.0-beta2"
|
version: ${{ env.PREMAKE_VERSION }}
|
||||||
|
|
||||||
- name: Generate project files
|
- name: Generate project files
|
||||||
run: premake5 gmake2
|
run: premake5 gmake2
|
||||||
@ -65,7 +73,7 @@ jobs:
|
|||||||
make config=${{matrix.config}}_${{matrix.arch}} -j$(nproc)
|
make config=${{matrix.config}}_${{matrix.arch}} -j$(nproc)
|
||||||
|
|
||||||
- name: Upload ${{matrix.configuration}} ${{matrix.arch}} binaries
|
- name: Upload ${{matrix.configuration}} ${{matrix.arch}} binaries
|
||||||
uses: actions/upload-artifact@v3.1.2
|
uses: actions/upload-artifact@main
|
||||||
with:
|
with:
|
||||||
name: Linux ${{matrix.configuration}} ${{matrix.arch}} binaries
|
name: Linux ${{matrix.configuration}} ${{matrix.arch}} binaries
|
||||||
path: |
|
path: |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user