add version to action #20
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
name: Test Linux | |
on: | |
push: | |
branches: [master] | |
jobs: | |
test: | |
name: Build and test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.1' | |
bundler-cache: false | |
- name: setup minitest | |
run: gem install minitest | |
- name: setup gnustep to test objc compiling | |
run: | | |
sudo apt-get update -y | |
sudo apt-get install -y gnustep gnustep-devel gobjc | |
- name: setup swift | |
uses: swift-actions/setup-swift@v1 | |
with: | |
swift-version: '5.9' | |
- name: Build | |
run: bash build.sh build install | |
- name: Run tests | |
run: bash build.sh test-workflow | |