Skip to content

Commit

Permalink
add other build types
Browse files Browse the repository at this point in the history
  • Loading branch information
iTrooz committed Jul 27, 2022
1 parent fdc7742 commit 20dddbe
Showing 1 changed file with 22 additions and 6 deletions.
28 changes: 22 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,29 @@ on:

jobs:
build:

strategy:
matrix:
include:
- arch: x64
folder: x64
- arch: x86
folder: x86
- arch: amd64_arm64
folder: aarch64
- arch: amd64_arm
folder: arm

name: Build for ${{ matrix.folder }}
runs-on: windows-latest

steps:
- name: Get Sources
uses: actions/checkout@v3

- uses: ilammy/msvc-dev-cmd@v1
with:
arch: ${{ matrix.arch }}

- name: Prepare build
run: cmake -B build
Expand All @@ -26,16 +42,16 @@ jobs:
- name: Prepare files
run: |
mkdir upload
mkdir upload\x64
mkdir upload\${{ matrix.folder }}
copy src/btrfs.inf upload
copy build\Release\ubtrfs.dll upload\x64
copy build\Release\shellbtrfs.dll upload\x64
copy build\Release\mkbtrfs.exe upload\x64
copy build\Release\btrfs.sys upload\x64
copy build\Release\ubtrfs.dll upload\${{ matrix.folder }}
copy build\Release\shellbtrfs.dll upload\${{ matrix.folder }}
copy build\Release\mkbtrfs.exe upload\${{ matrix.folder }}
copy build\Release\btrfs.sys upload\${{ matrix.folder }}
- name: Upload files
uses: actions/upload-artifact@v3
with:
name: btrfs
path: upload/*
path: upload/*

0 comments on commit 20dddbe

Please sign in to comment.