mirror of
https://github.com/Polprzewodnikowy/SummerCart64.git
synced 2024-11-22 14:09:16 +01:00
test builder
This commit is contained in:
parent
346c65fc9c
commit
b6a742ef5d
42
.github/workflows/build.yml
vendored
42
.github/workflows/build.yml
vendored
@ -52,26 +52,27 @@ jobs:
|
|||||||
build-deployer:
|
build-deployer:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
version: [windows, windows-32bit, linux, macos]
|
# version: [windows, windows-32bit, linux, macos]
|
||||||
|
version: [linux, macos]
|
||||||
include:
|
include:
|
||||||
- version: windows
|
# - version: windows
|
||||||
os: windows-latest
|
# os: windows-latest
|
||||||
executable: target/release/sc64deployer.exe
|
# executable: target/release/sc64deployer.exe
|
||||||
package-name: sc64-deployer-windows
|
# package-name: sc64-deployer-windows
|
||||||
package-params: -c -a -f
|
# package-params: -c -a -f
|
||||||
package-extension: zip
|
# package-extension: zip
|
||||||
|
|
||||||
- version: windows-32bit
|
# - version: windows-32bit
|
||||||
os: windows-latest
|
# os: windows-latest
|
||||||
build-params: --target=i686-pc-windows-msvc
|
# build-params: --target=i686-pc-windows-msvc
|
||||||
executable: target/i686-pc-windows-msvc/release/sc64deployer.exe
|
# executable: target/i686-pc-windows-msvc/release/sc64deployer.exe
|
||||||
package-name: sc64-deployer-windows-32bit
|
# package-name: sc64-deployer-windows-32bit
|
||||||
package-params: -c -a -f
|
# package-params: -c -a -f
|
||||||
package-extension: zip
|
# package-extension: zip
|
||||||
|
|
||||||
- version: linux
|
- version: linux
|
||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
linux-packages: libudev-dev
|
apt-packages: libftdi-dev libudev-dev
|
||||||
executable: target/release/sc64deployer
|
executable: target/release/sc64deployer
|
||||||
package-name: sc64-deployer-linux
|
package-name: sc64-deployer-linux
|
||||||
package-params: -czf
|
package-params: -czf
|
||||||
@ -79,6 +80,7 @@ jobs:
|
|||||||
|
|
||||||
- version: macos
|
- version: macos
|
||||||
os: macos-latest
|
os: macos-latest
|
||||||
|
brew-packages: libftdi
|
||||||
executable: target/release/sc64deployer
|
executable: target/release/sc64deployer
|
||||||
package-name: sc64-deployer-macos
|
package-name: sc64-deployer-macos
|
||||||
package-params: -czf
|
package-params: -czf
|
||||||
@ -98,11 +100,15 @@ jobs:
|
|||||||
string: '${{ github.ref_name }}'
|
string: '${{ github.ref_name }}'
|
||||||
replace-with: '-'
|
replace-with: '-'
|
||||||
|
|
||||||
- name: Install linux packages
|
- name: Install apt packages
|
||||||
if: matrix.linux-packages
|
if: matrix.apt-packages
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get -y install ${{ matrix.linux-packages }}
|
sudo apt-get -y install ${{ matrix.apt-packages }}
|
||||||
|
|
||||||
|
- name: Install brew packages
|
||||||
|
if: matrix.brew-packages
|
||||||
|
run: yes | brew install ${{ matrix.brew-packages }}
|
||||||
|
|
||||||
- name: Build deployer
|
- name: Build deployer
|
||||||
run: cargo b -r ${{ matrix.build-params }}
|
run: cargo b -r ${{ matrix.build-params }}
|
||||||
|
Loading…
Reference in New Issue
Block a user