mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-17 23:45:21 +01:00
Update build-arm64-mac.yml
This commit is contained in:
parent
3405c77f18
commit
ebb3338e25
1 changed files with 8 additions and 10 deletions
18
.github/workflows/build-arm64-mac.yml
vendored
18
.github/workflows/build-arm64-mac.yml
vendored
|
@ -17,24 +17,22 @@ jobs:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set up Node.js
|
- name: Install Dependencies (example)
|
||||||
uses: actions/setup-node@v3
|
|
||||||
with:
|
|
||||||
node-version: '18'
|
|
||||||
|
|
||||||
- name: Install Dependencies
|
|
||||||
run: |
|
run: |
|
||||||
npm install
|
brew install cmake # Replace with actual dependencies if needed
|
||||||
|
|
||||||
- name: Build Retro-Imager
|
- name: Configure and Build Retro-Imager
|
||||||
run: |
|
run: |
|
||||||
npm run build
|
mkdir -p build
|
||||||
|
cd build
|
||||||
|
cmake ..
|
||||||
|
make
|
||||||
|
|
||||||
- name: Archive Build Artifacts
|
- name: Archive Build Artifacts
|
||||||
if: success()
|
if: success()
|
||||||
run: |
|
run: |
|
||||||
mkdir -p build_artifacts
|
mkdir -p build_artifacts
|
||||||
tar -czvf build_artifacts/retro-imager-arm64-mac.tar.gz dist/
|
tar -czvf build_artifacts/retro-imager-arm64-mac.tar.gz build/
|
||||||
|
|
||||||
- name: Upload Build Artifacts
|
- name: Upload Build Artifacts
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue