Skip to content

Commit 977f9a6

Browse files
committed
NORUBY
1 parent 40c5d89 commit 977f9a6

File tree

1 file changed

+30
-12
lines changed

1 file changed

+30
-12
lines changed

.github/workflows/ci.yml

Lines changed: 30 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,7 @@ jobs:
1313
fetch-depth: 0
1414
persist-credentials: false
1515
ref: ${{ github.ref }}
16-
- run: mkdir -p "$HOME/test1"
17-
shell: bash
18-
- uses: ruby/setup-ruby@v1
19-
- run: mkdir -p "$HOME/test2"
20-
shell: bash
2116
- run: gem install asciidoctor
22-
- run: Rename-Item -Path C:\msys64 -NewName msys64-tmp -Force
23-
# We move the MSYS2 installed for Ruby aside to prevent use of its Git,
24-
# which does not honour the PATH we set to our built git-lfs binary.
2517
- uses: actions/setup-go@v5
2618
with:
2719
go-version: '1.23.x'
@@ -38,9 +30,35 @@ jobs:
3830
flavor: minimal
3931
# We install the SDK so as to have access to the msgfmt.exe binary
4032
# from the GNU gettext package.
41-
- run: set -x; env; type bash; cygpath -aw /; cat /etc/profile
33+
- run: GOPATH="$HOME/go" PATH="$HOME/go/bin:$PATH" script/cibuild
34+
shell: bash
35+
- run: rm -f commands/mancontent_gen.go
36+
shell: bash
37+
- run: GOPATH="$HOME/go" PATH="$HOME/go/bin:$PATH" make GOARCH=386 -B
38+
shell: bash
39+
env:
40+
FORCE_LOCALIZE: true
41+
- run: mv bin\git-lfs.exe git-lfs-x86.exe
42+
- run: rm -f commands/mancontent_gen.go
4243
shell: bash
43-
- run: GOPATH="$HOME/go" PATH="$HOME/go/bin:$PATH" env -u TMPDIR script/cibuild
44+
- run: GOPATH="$HOME/go" PATH="$HOME/go/bin:$PATH" make GOARCH=amd64 -B
4445
shell: bash
45-
# We clear the TMPDIR set for Ruby so mktemp and Go use the same
46-
# volume for temporary files.
46+
env:
47+
FORCE_LOCALIZE: true
48+
- run: mv bin\git-lfs.exe git-lfs-x64.exe
49+
- run: rm -f commands/mancontent_gen.go
50+
shell: bash
51+
- run: GOPATH="$HOME/go" PATH="$HOME/go/bin:$PATH" make GOARCH=arm64 -B
52+
shell: bash
53+
env:
54+
FORCE_LOCALIZE: true
55+
- run: mv bin\git-lfs.exe git-lfs-arm64.exe
56+
- run: iscc script\windows-installer\inno-setup-git-lfs-installer.iss
57+
- run: mkdir -p bin/assets
58+
shell: bash
59+
- run: mv *.exe bin/assets
60+
shell: bash
61+
- uses: actions/upload-artifact@v4
62+
with:
63+
name: windows-latest
64+
path: bin/assets

0 commit comments

Comments
 (0)