Skip to content

Commit 2598883

Browse files
committed
update .github/workflows/build.yml for renku
1 parent ea3ec62 commit 2598883

1 file changed

Lines changed: 45 additions & 45 deletions

File tree

.github/workflows/build.yml

Lines changed: 45 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ on:
2121

2222
jobs:
2323
build:
24-
if: inputs.manual || (github.repository == 'rclone/rclone' && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name))
24+
if: inputs.manual || (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name)
2525
timeout-minutes: 60
2626
strategy:
2727
fail-fast: false
2828
matrix:
29-
job_name: ['linux', 'linux_386', 'mac_amd64', 'mac_arm64', 'windows', 'other_os', 'go1.21', 'go1.22']
29+
job_name: ['linux', 'linux_386', 'go1.21', 'go1.22']
3030

3131
include:
3232
- job_name: linux
@@ -47,38 +47,38 @@ jobs:
4747
gotags: cmount
4848
quicktest: true
4949

50-
- job_name: mac_amd64
51-
os: macos-latest
52-
go: '>=1.23.0-rc.1'
53-
gotags: 'cmount'
54-
build_flags: '-include "^darwin/amd64" -cgo'
55-
quicktest: true
56-
racequicktest: true
57-
deploy: true
58-
59-
- job_name: mac_arm64
60-
os: macos-latest
61-
go: '>=1.23.0-rc.1'
62-
gotags: 'cmount'
63-
build_flags: '-include "^darwin/arm64" -cgo -macos-arch arm64 -cgo-cflags=-I/usr/local/include -cgo-ldflags=-L/usr/local/lib'
64-
deploy: true
65-
66-
- job_name: windows
67-
os: windows-latest
68-
go: '>=1.23.0-rc.1'
69-
gotags: cmount
70-
cgo: '0'
71-
build_flags: '-include "^windows/"'
72-
build_args: '-buildmode exe'
73-
quicktest: true
74-
deploy: true
75-
76-
- job_name: other_os
77-
os: ubuntu-latest
78-
go: '>=1.23.0-rc.1'
79-
build_flags: '-exclude "^(windows/|darwin/|linux/)"'
80-
compile_all: true
81-
deploy: true
50+
# - job_name: mac_amd64
51+
# os: macos-latest
52+
# go: '>=1.23.0-rc.1'
53+
# gotags: 'cmount'
54+
# build_flags: '-include "^darwin/amd64" -cgo'
55+
# quicktest: true
56+
# racequicktest: true
57+
# deploy: true
58+
59+
# - job_name: mac_arm64
60+
# os: macos-latest
61+
# go: '>=1.23.0-rc.1'
62+
# gotags: 'cmount'
63+
# build_flags: '-include "^darwin/arm64" -cgo -macos-arch arm64 -cgo-cflags=-I/usr/local/include -cgo-ldflags=-L/usr/local/lib'
64+
# deploy: true
65+
66+
# - job_name: windows
67+
# os: windows-latest
68+
# go: '>=1.23.0-rc.1'
69+
# gotags: cmount
70+
# cgo: '0'
71+
# build_flags: '-include "^windows/"'
72+
# build_args: '-buildmode exe'
73+
# quicktest: true
74+
# deploy: true
75+
76+
# - job_name: other_os
77+
# os: ubuntu-latest
78+
# go: '>=1.23.0-rc.1'
79+
# build_flags: '-exclude "^(windows/|darwin/|linux/)"'
80+
# compile_all: true
81+
# deploy: true
8282

8383
- job_name: go1.21
8484
os: ubuntu-latest
@@ -205,19 +205,19 @@ jobs:
205205
make compile_all
206206
if: matrix.compile_all
207207

208-
- name: Deploy built binaries
209-
shell: bash
210-
run: |
211-
if [[ "${{ matrix.os }}" == "ubuntu-latest" ]]; then make release_dep_linux ; fi
212-
make ci_beta
213-
env:
214-
RCLONE_CONFIG_PASS: ${{ secrets.RCLONE_CONFIG_PASS }}
215-
# working-directory: '$(modulePath)'
216-
# Deploy binaries if enabled in config && not a PR && not a fork
217-
if: env.RCLONE_CONFIG_PASS != '' && matrix.deploy && github.head_ref == '' && github.repository == 'rclone/rclone'
208+
# - name: Deploy built binaries
209+
# shell: bash
210+
# run: |
211+
# if [[ "${{ matrix.os }}" == "ubuntu-latest" ]]; then make release_dep_linux ; fi
212+
# make ci_beta
213+
# env:
214+
# RCLONE_CONFIG_PASS: ${{ secrets.RCLONE_CONFIG_PASS }}
215+
# # working-directory: '$(modulePath)'
216+
# # Deploy binaries if enabled in config && not a PR && not a fork
217+
# if: env.RCLONE_CONFIG_PASS != '' && matrix.deploy && github.head_ref == '' && github.repository == 'rclone/rclone'
218218

219219
lint:
220-
if: inputs.manual || (github.repository == 'rclone/rclone' && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name))
220+
if: inputs.manual || (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name)
221221
timeout-minutes: 30
222222
name: "lint"
223223
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)