Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Piotr Stachyra
committed
Oct 28, 2020
1 parent
2fa746e
commit ab4fd0d
Showing
1 changed file
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: WindowsOcra | ||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
tags: [ "*" ] | ||
jobs: | ||
make: | ||
strategy: | ||
matrix: | ||
include: | ||
- os: windows-2019 | ||
fail-fast: false | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Set up Ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: 2.7.1 | ||
|
||
- name: "Install dependencies" | ||
run: bundle install | ||
|
||
- name: "Get Ocra" | ||
run: gem install ocra | ||
|
||
- name: Build executable | ||
run: | | ||
ocra --gemfile Gemfile --gem-all --no-dep-run --no-lzma --add-all-core --console --output ikar.exe . | ||
mkdir bin | ||
copy ikar.exe bin\ikar.exe | ||
- name: 📎 Upload Artifact | ||
uses: actions/upload-artifact@v1 | ||
with: | ||
name: ${{ matrix.os }}-exe | ||
path: bin |