Compare commits
7 Commits
1b52f88c71
...
ce35761efa
| Author | SHA1 | Date | |
|---|---|---|---|
| ce35761efa | |||
| d9133cf6a9 | |||
| d6da7a519e | |||
| 3f0444a8da | |||
| df7a1ac15b | |||
| 8552199ebe | |||
| a657db0b42 |
@@ -5,7 +5,7 @@ name: Continuous Integration
|
||||
jobs:
|
||||
grammar-tests:
|
||||
name: Grammar Tests
|
||||
runs-on: macos-latest
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v4
|
||||
@@ -20,14 +20,15 @@ jobs:
|
||||
working-directory: ./tree-sitter-p4
|
||||
library-tests:
|
||||
name: Library Tests
|
||||
runs-on: macos-latest
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v4
|
||||
- uses: tree-sitter/setup-action@v2
|
||||
- uses: swift-actions/setup-swift@v3
|
||||
with:
|
||||
swift-version: "6.2.4"
|
||||
swift-version: "main-snapshot"
|
||||
skip-verify-signature: true
|
||||
# Because our tree-sitter code is in a subdirectory,
|
||||
# and working-directory does not apply to uses, we
|
||||
# are forced to specify calls to the CI ourselves.
|
||||
@@ -38,14 +39,15 @@ jobs:
|
||||
- run: swift test
|
||||
library-format-tests:
|
||||
name: Library Format Tests
|
||||
runs-on: macos-latest
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v4
|
||||
- uses: tree-sitter/setup-action@v2
|
||||
- uses: swift-actions/setup-swift@v3
|
||||
with:
|
||||
swift-version: "6.2.4"
|
||||
swift-version: "main-snapshot"
|
||||
skip-verify-signature: true
|
||||
- run: tree-sitter generate
|
||||
working-directory: ./tree-sitter-p4
|
||||
- run: ./ci/format.sh
|
||||
|
||||
@@ -17,7 +17,6 @@
|
||||
|
||||
import ArgumentParser
|
||||
import Common
|
||||
import Darwin
|
||||
|
||||
@main
|
||||
struct Cli: ParsableCommand {
|
||||
|
||||
Reference in New Issue
Block a user