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