From 049e41e67bae926e835f63a3ab9a8a4cc2182289 Mon Sep 17 00:00:00 2001 From: Valeriy Van Date: Mon, 16 Oct 2023 23:23:14 +0300 Subject: [PATCH] Add workflow for Ubuntu --- ...un-tests.yml => build-run-tests-macos.yml} | 0 .github/workflows/build-run-tests-ubuntu.yml | 105 ++++++++++++++++++ README.md | 3 +- 3 files changed, 107 insertions(+), 1 deletion(-) rename .github/workflows/{build-run-tests.yml => build-run-tests-macos.yml} (100%) create mode 100644 .github/workflows/build-run-tests-ubuntu.yml 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 - + +