Skip to content

Commit

Permalink
Added CI
Browse files Browse the repository at this point in the history
  • Loading branch information
iTrooz committed Jul 27, 2022
1 parent 1bd759c commit 12dbd9a
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Build CI

on:
push:
branches: ["*"]
pull_request:
branches: ["*"]
workflow_dispatch:

jobs:
build:
runs-on: windows-latest

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

- uses: ilammy/msvc-dev-cmd@v1

- name: Prepare build
run: cmake -B build

- name: Build
run: cmake --build build -j 3

- name: Prepare files
run: |
mkdir upload
mkdir upload\x64
copy src/btrfs.inf upload
copy build\Debug\ubtrfs.dll upload\x64
copy build\Debug\shellbtrfs.dll upload\x64
copy build\Debug\mkbtrfs.exe upload\x64
copy build\Debug\btrfs.sys upload\x64
- name: Upload files
uses: actions/upload-artifact@v3
with:
name: btrfs
path: upload/*

0 comments on commit 12dbd9a

Please sign in to comment.