diff --git a/.github/workflows/build-run-tests.yml b/.github/workflows/build-run-tests-macos.yml similarity index 100% rename from .github/workflows/build-run-tests.yml rename to .github/workflows/build-run-tests-macos.yml diff --git a/.github/workflows/build-run-tests-ubuntu.yml b/.github/workflows/build-run-tests-ubuntu.yml new file mode 100644 index 0000000..a5b383f --- /dev/null +++ b/.github/workflows/build-run-tests-ubuntu.yml @@ -0,0 +1,105 @@ +# This workflow will build a Swift project +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift + +name: Build&test ubuntu + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + + runs-on: ubuntu-20.04 + + steps: + - uses: actions/checkout@v3 + - name: Install Swift 5.9-RELEASE + run: + echo ====== Installing dependencies... + + export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true + + apt-get -qq update + + apt-get -qq install \ + binutils \ + git \ + gnupg2 \ + libc6-dev \ + libcurl4-openssl-dev \ + libedit2 \ + libgcc-9-dev \ + libpython3.8 \ + libsqlite3-0 \ + libstdc++-9-dev \ + libxml2-dev \ + libz3-dev \ + pkg-config \ + tzdata \ + unzip \ + zlib1g-dev + + # pub 4096R/ED3D1561 2019-03-22 [expires: 2021-03-21] + # Key fingerprint = A62A E125 BBBF BB96 A6E0 42EC 925C C1CC ED3D 1561 + # uid Swift 5.x Release Signing Key - + +