Skip to content

Commit

Permalink
ocra
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotr Stachyra committed Oct 28, 2020
1 parent 2fa746e commit ab4fd0d
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/windowsOcra.yml
@@ -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

0 comments on commit ab4fd0d

Please sign in to comment.