Skip to content

I was lied to

I was lied to #54

Workflow file for this run

name: Test Linux
on:
push:
branches: [master, "fix-gh-action"]
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: setup swift
run: |
curl -s https://swiftlang.xyz/install.sh | sudo bash
sudo apt install swiftlang
- name: Build
run: bash build.sh build install
- name: test linux swift
run: |
sudo apt install -y fd-find
swiftc -print-target-info
fd "libswift*" /
ruby tests/swift-project/make.rb run
- name: Run tests
run: GH_ACTION=1 bash build.sh test-workflow