File tree Expand file tree Collapse file tree 2 files changed +17
-17
lines changed Expand file tree Collapse file tree 2 files changed +17
-17
lines changed Original file line number Diff line number Diff line change 3
3
4
4
github_username=$1
5
5
github_token=$2
6
- config =$3
7
- arch =$4
6
+ platform =$3
7
+ architecture =$4
8
8
9
9
cd src/Magick.Native
10
10
./create-nuget-config.sh $github_username $github_token
11
- ./install.sh $config $arch
11
+ ./install.sh $platform $architecture
Original file line number Diff line number Diff line change @@ -21,30 +21,30 @@ cleanupPackage() {
21
21
}
22
22
23
23
copyToTestProject () {
24
- local runtime =$1
25
- local platform =$2
24
+ local platform =$1
25
+ local architecture =$2
26
26
local quantum=$3
27
27
local openmp=$4
28
28
29
29
folder=../../tests/Magick.NET.Tests/bin/Test$quantum$openmp /AnyCPU/net8.0
30
30
mkdir -p $folder
31
- cp temp/$runtime /Release$quantum$openmp /$platform /Magick.Native-$quantum$openmp -$platform .dll* $folder | true
31
+ cp temp/$platform /Release$quantum$openmp /$architecture /Magick.Native-$quantum$openmp -$architecture .dll* $folder | true
32
32
33
- folder=resources/Release$quantum
33
+ folder=resources/Release$quantum / $architecture
34
34
mkdir -p $folder
35
- cp temp/resources/Release$quantum$openmp /* .xml $folder | true
35
+ cp temp/resources/Release$quantum$openmp /$architecture / * .xml $folder | true
36
36
}
37
37
38
38
copyToTestProjects () {
39
- local runtime =$1
40
- local platform =$2
41
-
42
- copyToTestProject $runtime $platform " Q8" " "
43
- copyToTestProject $runtime $platform " Q16" " "
44
- copyToTestProject $runtime $platform " Q16-HDRI" " "
45
- copyToTestProject $runtime $platform " Q8" " -OpenMP"
46
- copyToTestProject $runtime $platform " Q16" " -OpenMP"
47
- copyToTestProject $runtime $platform " Q16-HDRI" " -OpenMP"
39
+ local platform =$1
40
+ local architecture =$2
41
+
42
+ copyToTestProject $platform $architecture " Q8" " "
43
+ copyToTestProject $platform $architecture " Q16" " "
44
+ copyToTestProject $platform $architecture " Q16-HDRI" " "
45
+ copyToTestProject $platform $architecture " Q8" " -OpenMP"
46
+ copyToTestProject $platform $architecture " Q16" " -OpenMP"
47
+ copyToTestProject $platform $architecture " Q16-HDRI" " -OpenMP"
48
48
}
49
49
50
50
cleanupPackage
You can’t perform that action at this time.
0 commit comments