Skip to content

Commit

Permalink
wi
Browse files Browse the repository at this point in the history
  • Loading branch information
rauhul committed Dec 7, 2024
1 parent ac57408 commit 7c0d873
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/build-pico-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,17 @@ jobs:
- name: Checkout repo
uses: actions/checkout@v4

- name: Update system packages
run: |
apt-get -y update
apt-get -y install curl ninja-build python3
- name: Install apt dependencies
run: apt-get -qq update && apt-get -qq -y install curl ninja-build python3

- name: Install CMake 3.30.2
run: |
ARCH=`uname -m`
curl -L https://github.com/Kitware/CMake/releases/download/v3.30.2/cmake-3.30.2-linux-$ARCH.tar.gz -O
tar xzf cmake-3.30.2-linux-$ARCH.tar.gz
export PATH="`pwd`/cmake-3.30.2-linux-$ARCH/bin:$PATH"
cmake --version
echo "PATH=$PATH" >> $GITHUB_ENV
cmake --version
- name: Clone Pico SDK
run: |
Expand Down
15 changes: 9 additions & 6 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,14 @@ jobs:
container: swift:6.0-jammy

steps:
- uses: actions/checkout@v4
- name: Checkout repo
uses: actions/checkout@v4

- name: Install apt dependencies
run: apt-get -qq update && apt-get -qq -y install curl

- name: Get common swift-format config
run: |
curl https://github.com/apple/swift-mmio/blob/main/SupportingFiles/Tools/swift-format/.swift-format -o .swift-format
- name: Lint
run: |
swift-format lint --recursive --strict .
run: curl -L https://github.com/apple/swift-mmio/blob/main/SupportingFiles/Tools/swift-format/.swift-format -O

- name: Lint
run: swift-format lint --recursive --strict .

0 comments on commit 7c0d873

Please sign in to comment.