mirror of
https://github.com/Xithrius/twitch-tui.git
synced 2024-08-16 09:01:11 +03:00
Build/test across Linux/MacOS/Windows
This commit is contained in:
parent
aa788a0b26
commit
cf86e93bbc
16
.github/workflows/build-test.yml
vendored
16
.github/workflows/build-test.yml
vendored
@ -11,12 +11,26 @@ env:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
matrix:
|
||||
os:
|
||||
- { prettyname: Windows, fullname: windows-latest }
|
||||
- { prettyname: macOS, fullname: macos-latest }
|
||||
- { prettyname: Linux, fullname: ubuntu-latest }
|
||||
|
||||
threadingMode: [ 'SingleThread', 'MultiThreaded' ]
|
||||
|
||||
timeout-minutes: 60
|
||||
|
||||
runs-on: ${{matrix.os.fullname}}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Build
|
||||
run: cargo build --verbose
|
||||
|
||||
- name: Run tests
|
||||
run: cargo test --verbose
|
||||
|
4
.github/workflows/catjam.yml
vendored
4
.github/workflows/catjam.yml
vendored
@ -8,12 +8,16 @@ on:
|
||||
jobs:
|
||||
thanks:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
if: github.event.pull_request.merged == true
|
||||
|
||||
steps:
|
||||
- name: comment PR
|
||||
uses: unsplash/comment-on-pr@master
|
||||
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
with:
|
||||
msg: "![cat](https://cdn.discordapp.com/emojis/750350748746907669.gif?v=1)"
|
||||
check_for_duplicate_msg: true
|
||||
|
1
.github/workflows/lint.yml
vendored
1
.github/workflows/lint.yml
vendored
@ -10,6 +10,7 @@ jobs:
|
||||
rustfmt:
|
||||
name: Formatter
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user