Skip to content

Commit

Permalink
Rename to axslcc [release 1.9.6]
Browse files Browse the repository at this point in the history
  • Loading branch information
halx99 committed Dec 13, 2024
1 parent 0fd2c08 commit 310db26
Show file tree
Hide file tree
Showing 7 changed files with 391 additions and 343 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ jobs:
shell: pwsh
run: |
cmake -B build
cmake --build build --config Release --target glslcc
cmake --build build --config Release --target axslcc
- name: Upload
uses: actions/upload-artifact@v4
with:
path: ./build/src/Release/glslcc.exe
name: glslcc-win64
path: ./build/src/Release/axslcc.exe
name: axslcc-win64
linux:
runs-on: ubuntu-latest
steps:
Expand All @@ -28,31 +28,31 @@ jobs:
shell: pwsh
run: |
cmake -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build --config Release --target glslcc
cmake --build build --config Release --target axslcc
- name: Upload
uses: actions/upload-artifact@v4
with:
path: ./build/src/glslcc
name: glslcc-linux
path: ./build/src/axslcc
name: axslcc-linux
osx-arm64:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Setup Xcode version
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '14.3'
xcode-version: '15.0'
- name: build
shell: pwsh
run: |
cmake -B build -DCMAKE_BUILD_TYPE=Release "-DCMAKE_OSX_DEPLOYMENT_TARGET=10.15"
cmake --build build --config Release --target glslcc
lipo -info ./build/src/glslcc
cmake --build build --config Release --target axslcc
lipo -info ./build/src/axslcc
- name: Upload
uses: actions/upload-artifact@v4
with:
path: ./build/src/glslcc
name: glslcc-osx-arm64
path: ./build/src/axslcc
name: axslcc-osx-arm64

osx-x64:
runs-on: macos-13
Expand All @@ -61,15 +61,15 @@ jobs:
- name: Setup Xcode version
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '14.2'
xcode-version: '15.0'
- name: build
shell: pwsh
run: |
cmake -B build -DCMAKE_BUILD_TYPE=Release "-DCMAKE_OSX_DEPLOYMENT_TARGET=10.15"
cmake --build build --config Release --target glslcc
lipo -info ./build/src/glslcc
cmake --build build --config Release --target axslcc
lipo -info ./build/src/axslcc
- name: Upload
uses: actions/upload-artifact@v4
with:
path: ./build/src/glslcc
name: glslcc-osx-x64
path: ./build/src/axslcc
name: axslcc-osx-x64
34 changes: 17 additions & 17 deletions .github/workflows/dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,23 +55,23 @@ jobs:
- name: Create packages
if: ${{ steps.check_ver.outputs.release_ver != '' }}
run: |
curl -L https://github.com/simdsoft/1kiss/releases/download/devtools/d3dcompiler_47.dll -o ./glslcc-win64/d3dcompiler_47.dll
ls -l ./glslcc-win64
curl -L https://github.com/simdsoft/1kiss/releases/download/devtools/d3dcompiler_47.dll -o ./axslcc-win64/d3dcompiler_47.dll
ls -l ./axslcc-win64
mkdir -p pkg_dir
prefix=glslcc-${{ steps.check_ver.outputs.release_ver }}
ls -l glslcc-linux
ls -l glslcc-osx-x64
ls -l glslcc-osx-arm64
sudo chmod u+x ./glslcc-linux/glslcc
sudo chmod u+x ./glslcc-osx-x64/glslcc
sudo chmod u+x ./glslcc-osx-arm64/glslcc
ls -l glslcc-linux
ls -l glslcc-osx-x64
ls -l glslcc-osx-arm64
tar -czvf ./pkg_dir/$prefix-linux.tar.gz -C ./glslcc-linux glslcc
tar -czvf ./pkg_dir/$prefix-osx-x64.tar.gz -C ./glslcc-osx-x64 glslcc
tar -czvf ./pkg_dir/$prefix-osx-arm64.tar.gz -C ./glslcc-osx-arm64 glslcc
sh -c "cd ./glslcc-win64; zip ../pkg_dir/$prefix-win64.zip glslcc.exe d3dcompiler_47.dll"
prefix=axslcc-${{ steps.check_ver.outputs.release_ver }}
ls -l axslcc-linux
ls -l axslcc-osx-x64
ls -l axslcc-osx-arm64
sudo chmod u+x ./axslcc-linux/axslcc
sudo chmod u+x ./axslcc-osx-x64/axslcc
sudo chmod u+x ./axslcc-osx-arm64/axslcc
ls -l axslcc-linux
ls -l axslcc-osx-x64
ls -l axslcc-osx-arm64
tar -czvf ./pkg_dir/$prefix-linux.tar.gz -C ./axslcc-linux axslcc
tar -czvf ./pkg_dir/$prefix-osx-x64.tar.gz -C ./axslcc-osx-x64 axslcc
tar -czvf ./pkg_dir/$prefix-osx-arm64.tar.gz -C ./axslcc-osx-arm64 axslcc
sh -c "cd ./axslcc-win64; zip ../pkg_dir/$prefix-win64.zip axslcc.exe d3dcompiler_47.dll"
- name: Publish to github release page
if: ${{ steps.check_ver.outputs.release_ver != '' }}
uses: softprops/action-gh-release@v2
Expand All @@ -82,4 +82,4 @@ jobs:
./pkg_dir/*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REPOSITORY: axmolengine/glslcc
GITHUB_REPOSITORY: axmolengine/axslcc
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.0)
project(glslcc)
project(axslcc)

if (WIN32)
set (CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} /MT")
Expand Down
Loading

0 comments on commit 310db26

Please sign in to comment.