Skip to content

Commit

Permalink
[add] release linux version binary test
Browse files Browse the repository at this point in the history
  • Loading branch information
sksat committed Dec 11, 2019
1 parent 6fa24a8 commit be87c17
Showing 1 changed file with 16 additions and 7 deletions.
23 changes: 16 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,29 @@ name: Release
on: release

jobs:
build:
release:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: make release file

- name: configure
run: |
mkdir build
cd build
cmake ..
- name: build on ubuntu
run: cmake --build build --parallel

- name: make archive file
run: |
mkdir hoge
touch hoge/COPYING
mv README.md hoge
zip -r hoge.zip hoge/
mkdir trochia
cp README.md trochia/
cp build/trochia trochia/
zip -r trochia-linux.zip trochia/
- name: Release
uses: JasonEtco/upload-to-release@master
with:
args: "hoge.zip application/zip"
args: "trochia-linux.zip application/zip"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit be87c17

Please sign in to comment.