mirror of
https://github.com/bensuperpc/dockcross.git
synced 2025-06-21 10:23:34 +02:00
Compare commits
1 Commits
add_script
...
Update_CI
Author | SHA1 | Date | |
---|---|---|---|
cd5979a3c9 |
2
.github/workflows/expired.yml
vendored
2
.github/workflows/expired.yml
vendored
@ -6,7 +6,7 @@ jobs:
|
|||||||
stale:
|
stale:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/stale@v3
|
- uses: actions/stale@v4
|
||||||
with:
|
with:
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
exempt-issue-milestones: 'future,alpha,beta,release'
|
exempt-issue-milestones: 'future,alpha,beta,release'
|
||||||
|
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@ -42,7 +42,7 @@ jobs:
|
|||||||
image:
|
image:
|
||||||
name: ${{ matrix.arch_name }}
|
name: ${{ matrix.arch_name }}
|
||||||
needs: base
|
needs: base
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
@ -1,6 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
set -euo pipefail
|
|
||||||
|
|
||||||
source $(dirname "$0")/functions/cmake_fn.sh
|
|
||||||
|
|
||||||
cmake_build $@
|
|
@ -1,11 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
set -euo pipefail
|
|
||||||
|
|
||||||
curl https://raw.githubusercontent.com/dockcross/dockcross/master/Makefile -o dockcross-Makefile
|
|
||||||
make -f dockcross-Makefile display_images
|
|
||||||
|
|
||||||
source $(dirname "$0")/functions/cmake_fn.sh
|
|
||||||
|
|
||||||
for image in $(make -f dockcross-Makefile display_images); do
|
|
||||||
cmake_build $image $@
|
|
||||||
done
|
|
@ -1,19 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
set -euo pipefail
|
|
||||||
|
|
||||||
cmake_build () {
|
|
||||||
local image=$1
|
|
||||||
local build_file=build-${image%:*}
|
|
||||||
shift 1
|
|
||||||
local cmake_arg=$@
|
|
||||||
echo "cmake arg: $cmake_arg"
|
|
||||||
|
|
||||||
echo "Pulling dockcross/$image"
|
|
||||||
docker pull dockcross/$image
|
|
||||||
echo "Make script dockcross-$image"
|
|
||||||
docker run --rm dockcross/$image > ./dockcross-$image
|
|
||||||
chmod +x ./dockcross-$image
|
|
||||||
echo "Build $build_file"
|
|
||||||
./dockcross-$image cmake -B$build_file -H. -GNinja $cmake_arg
|
|
||||||
./dockcross-$image ninja -C$build_file
|
|
||||||
}
|
|
@ -1,15 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
set -euo pipefail
|
|
||||||
|
|
||||||
makefile_build () {
|
|
||||||
local image=$1
|
|
||||||
shift 1
|
|
||||||
|
|
||||||
echo "Pulling dockcross/$image"
|
|
||||||
docker pull dockcross/$image
|
|
||||||
echo "Make script dockcross-$image"
|
|
||||||
docker run --rm dockcross/$image > ./dockcross-$image
|
|
||||||
chmod +x ./dockcross-$image
|
|
||||||
echo "Build..."
|
|
||||||
./dockcross-$image bash -c 'make CXX=$CXX CC=$CC AR=$AR AS=$AS CPP=$CPP FC=$FC'
|
|
||||||
}
|
|
@ -1,6 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
set -euo pipefail
|
|
||||||
|
|
||||||
source $(dirname "$0")/functions/makefile_fn.sh
|
|
||||||
|
|
||||||
makefile_build $@
|
|
@ -1,11 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
set -euo pipefail
|
|
||||||
|
|
||||||
curl https://raw.githubusercontent.com/dockcross/dockcross/master/Makefile -o dockcross-Makefile
|
|
||||||
make -f dockcross-Makefile display_images
|
|
||||||
|
|
||||||
source $(dirname "$0")/functions/makefile_fn.sh
|
|
||||||
|
|
||||||
for image in $(make -f dockcross-Makefile display_images); do
|
|
||||||
makefile_build $image $@
|
|
||||||
done
|
|
Reference in New Issue
Block a user