Skip to content

Commit

Permalink
[Kernel CI] Update xanmod repo location (#76)
Browse files Browse the repository at this point in the history
XanMod repo has migrated to gitlab, update url in ci.
  • Loading branch information
atauzki authored Nov 13, 2024
1 parent 86d3424 commit a2b14d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-lts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
run: |
export CURL_UA="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0"
export VERSION_BRANCH=$(curl -s https://xanmod.org/ -A $CURL_UA | awk '/LTS/{getline; getline; print}' | grep -oP '[0-9]+\.[0-9]+')
git clone https://github.com/xanmod/linux.git -b $VERSION_BRANCH --depth 1 linux
git clone https://gitlab.com/xanmod/linux.git -b $VERSION_BRANCH --depth 1 linux
cd linux && ../config.sh
scripts/config -d GENERIC_CPU3 # avoid override warning for duplicate arch flags
scripts/config -e ${{ matrix.arch }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
run: |
export CURL_UA="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0"
export VERSION_BRANCH=$(curl -s https://xanmod.org/ -A $CURL_UA | awk '/MAIN/{getline; getline; print}' | grep -oP '[0-9]+\.[0-9]+')
git clone https://github.com/xanmod/linux.git -b $VERSION_BRANCH --depth 1 linux
git clone https://gitlab.com/xanmod/linux.git -b $VERSION_BRANCH --depth 1 linux
cd linux && ../config.sh
scripts/config -d GENERIC_CPU3 # avoid override warning for duplicate arch flags
scripts/config -e ${{ matrix.arch }}
Expand Down

0 comments on commit a2b14d8

Please sign in to comment.