-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Build | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
|
||
jobs: | ||
macOS: | ||
name: Test | ||
runs-on: macOS-13 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: List available plugins in macOS | ||
run: swift package plugin --list | ||
|
||
Linux: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Build Docker image | ||
run: docker build . |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Use an official Swift runtime image | ||
FROM swift:5.8.1 | ||
|
||
# Copies the root directory of the repository into the image's filesystem at `/Linux` | ||
ADD . /Linux | ||
|
||
# Set the working directory to `/Linux` | ||
WORKDIR /Linux | ||
|
||
# List available plugins in Linux | ||
RUN swift package plugin --list |