Skip to content

Commit

Permalink
fedorable; fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
fukiame committed Aug 13, 2023
1 parent a8a1a3d commit b1d4a52
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 11 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,18 @@ jobs:
build:
runs-on: ubuntu-latest
container:
image: ubuntu:kinetic
image: fedora:latest

steps:
- name: checkout
uses: actions/checkout@master
- name: start of workflow
run: |
bash tg_utils.sh msg "gh $RUN_NUM: workflow started"
- name: init build env
run: |
apt-get update
apt-get install llvm lld bc bison ca-certificates curl flex gcc git libc6-dev \
libssl-dev openssl python3 python2 zip zstd make clang gcc-arm-linux-gnueabi \
software-properties-common device-tree-compiler libxml2 libarchive-tools \
libelf-dev libssl-dev libtfm-dev wget xz-utils -y
dnf groupinstall "Development tools" -y
dnf install llvm lld bc bison ca-certificates curl flex glibc-devel.i686 glibc-devel binutils-devel openssl python3 python2 zstd clang gcc-arm-linux-gnu dtc libxml2 libarchive openssl-devel tomsfastmath-devel wget xz -y
ln -sf "/usr/bin/python3" /usr/bin/python
- name: show host info
run: |
Expand All @@ -61,10 +61,12 @@ jobs:
run: |
cd kernel
for file in $(find . -maxdepth 1 -name '*.zip'); do
bash ../tg_utils.sh up "${file}" '$(cat "${file}.info")'
bash ../tg_utils.sh up "${file}" "$(cat '${file}.info')"
done
for file in $(find . -maxdepth 1 -name '*.log'); do
bash ../tg_utils.sh up "${file}" '$(cat "${file}.info")'
if [[ -e "error_${file}.info" ]]; do
bash ../tg_utils.sh up "${file}" "$(cat 'error_${file}.info')"
fi
done
- name: if it fails
if: ${{ failure() }}
Expand Down
2 changes: 1 addition & 1 deletion toolchains/Eva-GCC.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ case $1 in
OBCOPY=llvm-objcopy \
OBJDUMP=aarch64-elf-objdump \
STRIP=aarch64-elf-strip \
2>&1 | tee error_${CUR_TOOLCHAIN}.log
2>&1 | tee ${CUR_TOOLCHAIN}.log
;;
esac
2 changes: 1 addition & 1 deletion toolchains/Neutron-Clang.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ case $1 in
HOSTCXX=clang++ \
HOSTLD=ld.lld \
HOSTAR=llvm-ar \
2>&1 | tee error_${CUR_TOOLCHAIN}.log
2>&1 | tee ${CUR_TOOLCHAIN}.log
;;
esac
2 changes: 1 addition & 1 deletion toolchains/ZyC-Clang.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ case $1 in
HOSTCXX=clang++ \
HOSTLD=ld.lld \
HOSTAR=llvm-ar \
2>&1 | tee error_${CUR_TOOLCHAIN}.log
2>&1 | tee ${CUR_TOOLCHAIN}.log
;;
esac

0 comments on commit b1d4a52

Please sign in to comment.