Merge pull request #1 from mipalgu/subdirs #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: Ubuntu 20.04 Swift Debug CI | |
on: | |
push: | |
branches: [development, main] | |
pull_request: | |
branches: [development, main] | |
jobs: | |
exec-ci-debug: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: swift-actions/setup-swift@v1 | |
with: | |
swift-version: "5.7" | |
- name: Setup SSH Key | |
run: | | |
rm -rf ~/.ssh | |
mkdir -m 0700 ~/.ssh | |
echo "${{ secrets.WORKFLOWS_SSH_PRIVATE_KEY }}" > ~/.ssh/id_ed25519 | |
echo "${{ secrets.WORKFLOWS_SSH_PUBLIC_KEY }}" > ~/.ssh/id_ed25519.pub | |
chmod 0600 ~/.ssh/id_ed25519 | |
eval "$(ssh-agent -s)" | |
ssh-add ~/.ssh/id_ed25519 | |
- name: Checkout repo | |
uses: actions/checkout@v2 | |
#- name: Reconfigure Private Repo URLs | |
# run: sed -i 's/git@github.com:/https:\/\/${{ secrets.ACCESS_TOKEN }}@github.com\//g' Package.swift | |
- name: Debug Build | |
run: swift build -c debug | |
- name: Debug Test | |
run: | | |
ulimit -n 65000 | |
swift test | |