@@ -105,69 +105,69 @@ jobs:
105
105
- name : Build
106
106
run : ./trunk build
107
107
108
- build :
109
- runs-on : ${{ matrix.os }}
110
- strategy :
111
- fail-fast : false
112
- matrix :
113
- include :
114
- - os : macos-latest
115
- TARGET : aarch64-apple-darwin
116
-
117
- - os : ubuntu-latest
118
- TARGET : aarch64-unknown-linux-gnu
119
-
120
- - os : ubuntu-latest
121
- TARGET : armv7-unknown-linux-gnueabihf
122
-
123
- - os : ubuntu-latest
124
- TARGET : x86_64-unknown-linux-gnu
125
-
126
- - os : windows-latest
127
- TARGET : x86_64-pc-windows-msvc
128
- EXTENSION : .exe
129
-
130
- steps :
131
- - name : Building ${{ matrix.TARGET }}
132
- run : echo "${{ matrix.TARGET }}"
133
-
134
- - uses : actions/checkout@master
135
- - name : Install build dependencies - Rustup
108
+ # build:
109
+ # runs-on: ${{ matrix.os }}
110
+ # strategy:
111
+ # fail-fast: false
112
+ # matrix:
113
+ # include:
114
+ # - os: macos-latest
115
+ # TARGET: aarch64-apple-darwin
116
+
117
+ # - os: ubuntu-latest
118
+ # TARGET: aarch64-unknown-linux-gnu
119
+
120
+ # - os: ubuntu-latest
121
+ # TARGET: armv7-unknown-linux-gnueabihf
122
+
123
+ # - os: ubuntu-latest
124
+ # TARGET: x86_64-unknown-linux-gnu
125
+
126
+ # - os: windows-latest
127
+ # TARGET: x86_64-pc-windows-msvc
128
+ # EXTENSION: .exe
129
+
130
+ # steps:
131
+ # - name: Building ${{ matrix.TARGET }}
132
+ # run: echo "${{ matrix.TARGET }}"
133
+
134
+ # - uses: actions/checkout@master
135
+ # - name: Install build dependencies - Rustup
136
136
run : |
137
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain stable --profile default --target ${{ matrix.TARGET }} -y
138
- echo "$HOME/.cargo/bin" >> $GITHUB_PATH
137
+ # curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain stable --profile default --target ${{ matrix.TARGET }} -y
138
+ # echo "$HOME/.cargo/bin" >> $GITHUB_PATH
139
139
140
140
# For linux, it's necessary to use cross from the git repository to avoid glibc problems
141
141
# Ref: https://github.com/cross-rs/cross/issues/1510
142
- - name : Install cross for linux
143
- if : contains(matrix.TARGET, 'linux')
144
- run : |
145
- cargo install cross --git https://github.com/cross-rs/cross --rev 1b8cf50d20180c1a394099e608141480f934b7f7
146
-
147
- - name : Install cross for mac and windows
148
- if : ${{ !contains(matrix.TARGET, 'linux') }}
149
- run : |
150
- cargo install cross
151
-
152
- - name : Build
153
- run : |
154
- cross build --verbose --release --target=${{ matrix.TARGET }}
155
-
156
- - name : Rename
157
- run : cp target/${{ matrix.TARGET }}/release/eframe_template${{ matrix.EXTENSION }} eframe_template-${{ matrix.TARGET }}${{ matrix.EXTENSION }}
158
-
159
- - uses : actions/upload-artifact@master
160
- with :
161
- name : eframe_template-${{ matrix.TARGET }}${{ matrix.EXTENSION }}
162
- path : eframe_template-${{ matrix.TARGET }}${{ matrix.EXTENSION }}
163
-
164
- - uses : svenstaro/upload-release-action@v2
165
- name : Upload binaries to release
166
- if : ${{ github.event_name == 'push' }}
167
- with :
168
- repo_token : ${{ secrets.GITHUB_TOKEN }}
169
- file : eframe_template-${{ matrix.TARGET }}${{ matrix.EXTENSION }}
170
- asset_name : eframe_template-${{ matrix.TARGET }}${{ matrix.EXTENSION }}
171
- tag : ${{ github.ref }}
172
- prerelease : ${{ !startsWith(github.ref, 'refs/tags/') }}
173
- overwrite : true
142
+ # - name: Install cross for linux
143
+ # if: contains(matrix.TARGET, 'linux')
144
+ # run: |
145
+ # cargo install cross --git https://github.com/cross-rs/cross --rev 1b8cf50d20180c1a394099e608141480f934b7f7
146
+
147
+ # - name: Install cross for mac and windows
148
+ # if: ${{ !contains(matrix.TARGET, 'linux') }}
149
+ # run: |
150
+ # cargo install cross
151
+
152
+ # - name: Build
153
+ # run: |
154
+ # cross build --verbose --release --target=${{ matrix.TARGET }}
155
+
156
+ # - name: Rename
157
+ # run: cp target/${{ matrix.TARGET }}/release/eframe_template${{ matrix.EXTENSION }} eframe_template-${{ matrix.TARGET }}${{ matrix.EXTENSION }}
158
+
159
+ # - uses: actions/upload-artifact@master
160
+ # with:
161
+ # name: eframe_template-${{ matrix.TARGET }}${{ matrix.EXTENSION }}
162
+ # path: eframe_template-${{ matrix.TARGET }}${{ matrix.EXTENSION }}
163
+
164
+ # - uses: svenstaro/upload-release-action@v2
165
+ # name: Upload binaries to release
166
+ # if: ${{ github.event_name == 'push' }}
167
+ # with:
168
+ # repo_token: ${{ secrets.GITHUB_TOKEN }}
169
+ # file: eframe_template-${{ matrix.TARGET }}${{ matrix.EXTENSION }}
170
+ # asset_name: eframe_template-${{ matrix.TARGET }}${{ matrix.EXTENSION }}
171
+ # tag: ${{ github.ref }}
172
+ # prerelease: ${{ !startsWith(github.ref, 'refs/tags/') }}
173
+ # overwrite: true
0 commit comments