|
7 | 7 | SKIP_RISCV: 1 |
8 | 8 |
|
9 | 9 | jobs: |
10 | | - build_windows: |
11 | | - name: Build Windows |
12 | | - # runs-on: [self-hosted, Windows, x64] |
13 | | - runs-on: 'windows-latest' |
| 10 | + # build_windows: |
| 11 | + # name: Build Windows |
| 12 | + # # runs-on: [self-hosted, Windows, x64] |
| 13 | + # runs-on: 'windows-latest' |
14 | 14 |
|
15 | | - steps: |
16 | | - - name: Checkout |
17 | | - uses: actions/checkout@v4 |
18 | | - - name: Setup SSH Auth |
19 | | - if: runner.environment == 'github-hosted' |
20 | | - uses: webfactory/[email protected] |
21 | | - with: |
22 | | - ssh-private-key: ${{ secrets.SSH_KEY }} |
23 | | - - name: Build |
24 | | - run: ./build.ps1 ./config/x64-win.json -SkipSigning |
25 | | - - name: Upload Artifact |
26 | | - uses: actions/upload-artifact@v4 |
27 | | - with: |
28 | | - name: tools-x64-win |
29 | | - path: | |
30 | | - bin/picotool-*-x64-win.zip |
31 | | - bin/pico-sdk-tools-*-x64-win.zip |
32 | | - bin/openocd-*-x64-win.zip |
33 | | - - name: Add Release Asset |
34 | | - uses: softprops/action-gh-release@v2 |
35 | | - if: startsWith(github.ref, 'refs/tags/') |
36 | | - with: |
37 | | - files: | |
38 | | - bin/picotool-*-x64-win.zip |
39 | | - bin/pico-sdk-tools-*-x64-win.zip |
40 | | - bin/openocd-*-x64-win.zip |
| 15 | + # steps: |
| 16 | + # - name: Checkout |
| 17 | + # uses: actions/checkout@v4 |
| 18 | + # - name: Setup SSH Auth |
| 19 | + # if: runner.environment == 'github-hosted' |
| 20 | + # uses: webfactory/[email protected] |
| 21 | + # with: |
| 22 | + # ssh-private-key: ${{ secrets.SSH_KEY }} |
| 23 | + # - name: Build |
| 24 | + # run: ./build.ps1 ./config/x64-win.json -SkipSigning |
| 25 | + # - name: Upload Artifact |
| 26 | + # uses: actions/upload-artifact@v4 |
| 27 | + # with: |
| 28 | + # name: tools-x64-win |
| 29 | + # path: | |
| 30 | + # bin/picotool-*-x64-win.zip |
| 31 | + # bin/pico-sdk-tools-*-x64-win.zip |
| 32 | + # bin/openocd-*-x64-win.zip |
| 33 | + # - name: Add Release Asset |
| 34 | + # uses: softprops/action-gh-release@v2 |
| 35 | + # if: startsWith(github.ref, 'refs/tags/') |
| 36 | + # with: |
| 37 | + # files: | |
| 38 | + # bin/picotool-*-x64-win.zip |
| 39 | + # bin/pico-sdk-tools-*-x64-win.zip |
| 40 | + # bin/openocd-*-x64-win.zip |
41 | 41 |
|
42 | | - build_macos: |
43 | | - name: Build MacOS |
44 | | - # runs-on: [self-hosted, macOS] |
45 | | - runs-on: 'macos-latest' |
| 42 | + # build_macos: |
| 43 | + # name: Build MacOS |
| 44 | + # # runs-on: [self-hosted, macOS] |
| 45 | + # runs-on: 'macos-latest' |
46 | 46 |
|
47 | | - steps: |
48 | | - - name: Checkout |
49 | | - uses: actions/checkout@v4 |
50 | | - - name: Set up Homebrew |
51 | | - if: runner.environment == 'github-hosted' |
52 | | - id: set-up-homebrew |
53 | | - uses: Homebrew/actions/setup-homebrew@master |
54 | | - - name: Set up x86_64 Homebrew |
55 | | - if: runner.environment == 'github-hosted' |
56 | | - run: | |
57 | | - NONINTERACTIVE=1 arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" |
58 | | - - name: Setup SSH Auth |
59 | | - if: runner.environment == 'github-hosted' |
60 | | - uses: webfactory/[email protected] |
61 | | - with: |
62 | | - ssh-private-key: ${{ secrets.SSH_KEY }} |
63 | | - - name: Build |
64 | | - run: ./build_macos.sh |
65 | | - - name: Upload Artifact |
66 | | - uses: actions/upload-artifact@v4 |
67 | | - with: |
68 | | - name: tools-mac |
69 | | - path: | |
70 | | - bin/picotool-*-mac.zip |
71 | | - bin/pico-sdk-tools-*-mac.zip |
72 | | - bin/openocd-*-mac.zip |
73 | | - bin/riscv-toolchain-*.zip |
74 | | - - name: Add Release Asset |
75 | | - uses: softprops/action-gh-release@v2 |
76 | | - if: startsWith(github.ref, 'refs/tags/') |
77 | | - with: |
78 | | - files: | |
79 | | - bin/picotool-*-mac.zip |
80 | | - bin/pico-sdk-tools-*-mac.zip |
81 | | - bin/openocd-*-mac.zip |
82 | | - bin/riscv-toolchain-*.zip |
| 47 | + # steps: |
| 48 | + # - name: Checkout |
| 49 | + # uses: actions/checkout@v4 |
| 50 | + # - name: Set up Homebrew |
| 51 | + # if: runner.environment == 'github-hosted' |
| 52 | + # id: set-up-homebrew |
| 53 | + # uses: Homebrew/actions/setup-homebrew@master |
| 54 | + # - name: Set up x86_64 Homebrew |
| 55 | + # if: runner.environment == 'github-hosted' |
| 56 | + # run: | |
| 57 | + # NONINTERACTIVE=1 arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" |
| 58 | + # - name: Setup SSH Auth |
| 59 | + # if: runner.environment == 'github-hosted' |
| 60 | + # uses: webfactory/[email protected] |
| 61 | + # with: |
| 62 | + # ssh-private-key: ${{ secrets.SSH_KEY }} |
| 63 | + # - name: Build |
| 64 | + # run: ./build_macos.sh |
| 65 | + # - name: Upload Artifact |
| 66 | + # uses: actions/upload-artifact@v4 |
| 67 | + # with: |
| 68 | + # name: tools-mac |
| 69 | + # path: | |
| 70 | + # bin/picotool-*-mac.zip |
| 71 | + # bin/pico-sdk-tools-*-mac.zip |
| 72 | + # bin/openocd-*-mac.zip |
| 73 | + # bin/riscv-toolchain-*.zip |
| 74 | + # - name: Add Release Asset |
| 75 | + # uses: softprops/action-gh-release@v2 |
| 76 | + # if: startsWith(github.ref, 'refs/tags/') |
| 77 | + # with: |
| 78 | + # files: | |
| 79 | + # bin/picotool-*-mac.zip |
| 80 | + # bin/pico-sdk-tools-*-mac.zip |
| 81 | + # bin/openocd-*-mac.zip |
| 82 | + # bin/riscv-toolchain-*.zip |
83 | 83 |
|
84 | 84 | build_macos_intel: |
85 | 85 | name: Build Intel MacOS |
@@ -115,41 +115,41 @@ jobs: |
115 | 115 | bin/openocd-*-mac.zip |
116 | 116 | bin/riscv-toolchain-*.zip |
117 | 117 |
|
118 | | - build_linux: |
119 | | - name: Build Linux |
120 | | - # strategy: |
121 | | - # matrix: |
122 | | - # os: [[self-hosted, linux, x64], [self-hosted, linux, arm64]] |
123 | | - strategy: |
124 | | - matrix: |
125 | | - os: [ubuntu-latest, [self-hosted, linux, arm64]] |
126 | | - runs-on: ${{ matrix.os }} |
| 118 | + # build_linux: |
| 119 | + # name: Build Linux |
| 120 | + # # strategy: |
| 121 | + # # matrix: |
| 122 | + # # os: [[self-hosted, linux, x64], [self-hosted, linux, arm64]] |
| 123 | + # strategy: |
| 124 | + # matrix: |
| 125 | + # os: [ubuntu-latest, [self-hosted, linux, arm64]] |
| 126 | + # runs-on: ${{ matrix.os }} |
127 | 127 |
|
128 | | - steps: |
129 | | - - name: Checkout |
130 | | - uses: actions/checkout@v4 |
131 | | - - name: Setup SSH Auth |
132 | | - if: runner.environment == 'github-hosted' |
133 | | - uses: webfactory/[email protected] |
134 | | - with: |
135 | | - ssh-private-key: ${{ secrets.SSH_KEY }} |
136 | | - - name: Build |
137 | | - run: ./build_linux.sh |
138 | | - - name: Upload Artifact |
139 | | - uses: actions/upload-artifact@v4 |
140 | | - with: |
141 | | - name: tools-lin-${{ runner.arch }} |
142 | | - path: | |
143 | | - bin/picotool-*-lin.tar.gz |
144 | | - bin/pico-sdk-tools-*-lin.tar.gz |
145 | | - bin/openocd-*-lin.tar.gz |
146 | | - bin/riscv-toolchain-*-lin.tar.gz |
147 | | - - name: Add Release Asset |
148 | | - uses: softprops/action-gh-release@v2 |
149 | | - if: startsWith(github.ref, 'refs/tags/') |
150 | | - with: |
151 | | - files: | |
152 | | - bin/picotool-*-lin.tar.gz |
153 | | - bin/pico-sdk-tools-*-lin.tar.gz |
154 | | - bin/openocd-*-lin.tar.gz |
155 | | - bin/riscv-toolchain-*-lin.tar.gz |
| 128 | + # steps: |
| 129 | + # - name: Checkout |
| 130 | + # uses: actions/checkout@v4 |
| 131 | + # - name: Setup SSH Auth |
| 132 | + # if: runner.environment == 'github-hosted' |
| 133 | + # uses: webfactory/[email protected] |
| 134 | + # with: |
| 135 | + # ssh-private-key: ${{ secrets.SSH_KEY }} |
| 136 | + # - name: Build |
| 137 | + # run: ./build_linux.sh |
| 138 | + # - name: Upload Artifact |
| 139 | + # uses: actions/upload-artifact@v4 |
| 140 | + # with: |
| 141 | + # name: tools-lin-${{ runner.arch }} |
| 142 | + # path: | |
| 143 | + # bin/picotool-*-lin.tar.gz |
| 144 | + # bin/pico-sdk-tools-*-lin.tar.gz |
| 145 | + # bin/openocd-*-lin.tar.gz |
| 146 | + # bin/riscv-toolchain-*-lin.tar.gz |
| 147 | + # - name: Add Release Asset |
| 148 | + # uses: softprops/action-gh-release@v2 |
| 149 | + # if: startsWith(github.ref, 'refs/tags/') |
| 150 | + # with: |
| 151 | + # files: | |
| 152 | + # bin/picotool-*-lin.tar.gz |
| 153 | + # bin/pico-sdk-tools-*-lin.tar.gz |
| 154 | + # bin/openocd-*-lin.tar.gz |
| 155 | + # bin/riscv-toolchain-*-lin.tar.gz |
0 commit comments