File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -80,43 +80,45 @@ jobs:
80
80
if [ "${{ inputs.target_environment }}" == "musl" ]; then
81
81
case "${{ inputs.target_cpu }}" in
82
82
x86)
83
- PKGS="g++ g++-multilib"
83
+ PKGS="g++-12 g++-12 -multilib"
84
84
;;
85
85
86
86
x64)
87
- PKGS="g++"
87
+ PKGS="g++-12 "
88
88
;;
89
89
90
90
arm)
91
- PKGS="g++"
91
+ PKGS="g++-12 "
92
92
;;
93
93
94
94
arm64)
95
- PKGS="g++"
95
+ PKGS="g++-12 "
96
96
;;
97
97
esac
98
98
else
99
99
case "${{ inputs.target_cpu }}" in
100
100
arm)
101
- PKGS="libc6-i386 gcc-multilib g++-arm-linux-gnueabihf gcc-arm-linux-gnueabihf"
101
+ PKGS="libc6-i386 gcc-12- multilib g++-12- arm-linux-gnueabihf gcc-12 -arm-linux-gnueabihf"
102
102
;;
103
103
104
104
arm64)
105
- PKGS="libc6-i386 gcc-11 -multilib g++-11 -aarch64-linux-gnu gcc-11 -aarch64-linux-gnu"
105
+ PKGS="libc6-i386 gcc-12 -multilib g++-12 -aarch64-linux-gnu gcc-12 -aarch64-linux-gnu"
106
106
;;
107
107
108
108
x86)
109
- PKGS="g++-multilib"
109
+ PKGS="g++-12- multilib"
110
110
;;
111
111
112
112
x64)
113
- PKGS="g++"
113
+ PKGS="g++-12 "
114
114
;;
115
115
esac
116
116
fi
117
117
118
118
sudo apt-get update
119
119
sudo apt-get install -y cmake pkg-config $PKGS
120
+ sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 12
121
+ sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-12 12
120
122
121
123
- name : Install Just
122
124
uses : extractions/setup-just@v2
You can’t perform that action at this time.
0 commit comments