File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -36,19 +36,19 @@ jobs:
36
36
run : |
37
37
sudo apt-get update && sudo apt-get install -y libpango1.0-dev libx11-dev libxext-dev libxft-dev libxinerama-dev libxcursor-dev libxrender-dev libxfixes-dev libpng-dev libgl1-mesa-dev libglu1-mesa-dev
38
38
39
- - name : Set BUILD envs for Windows
39
+ - name : Set BUILD envs for Windows using MSYS2
40
40
if : matrix.os == 'windows-latest'
41
41
shell : bash
42
42
run : |
43
- choco install mingw --version 11.2.0.07112021 --allow-downgrade
44
- echo "export PATH= /c/tools/mingw64/ bin:\$PATH" >> $GITHUB_ENV
45
- echo "export CXX=x86_64- w64-mingw32-g++" >> $GITHUB_ENV
46
- echo "export CC=x86_64-w64-mingw32-gcc " >> $GITHUB_ENV
43
+ choco install msys2
44
+ /c/tools/msys64/usr/ bin/bash -lc "pacman -Sy --noconfirm"
45
+ /c/tools/msys64/usr/bin/bash -lc "pacman -S --noconfirm mingw- w64-x86_64-toolchain"
46
+ echo "export PATH=/c/tools/msys64/mingw64/bin:/c/tools/msys64/usr/bin:\$PATH " >> ${ GITHUB_ENV}
47
47
48
48
- name : do testing
49
49
shell : bash
50
50
run : |
51
- go test
51
+ go test -v ./...
52
52
53
53
Release :
54
54
runs-on : ubuntu-latest
61
61
62
62
- name : Get latest tag
63
63
run : |
64
- echo "LATEST_TAG=$(git tag | grep -v '^latest$' | sort -V | tail -n1)" >> $GITHUB_ENV
64
+ echo "LATEST_TAG=$(git tag | grep -v '^latest$' | sort -V | tail -n1)" >> ${ GITHUB_ENV}
65
65
66
66
- name : Bump version and push tag
67
67
id : tag-version
Original file line number Diff line number Diff line change @@ -2,5 +2,5 @@ package config
2
2
3
3
const (
4
4
ProjectName = "fltk_go"
5
- ProjectVersion = "v0.0.5 "
5
+ ProjectVersion = "v0.0.6 "
6
6
)
You can’t perform that action at this time.
0 commit comments