Skip to content

Commit

Permalink
Merge pull request #46 from Brugarolas/v3.0-work
Browse files Browse the repository at this point in the history
Openresty v3.0
  • Loading branch information
Brugarolas authored Mar 19, 2024
2 parents 15f58c9 + cfa3a87 commit 97c02da
Show file tree
Hide file tree
Showing 850 changed files with 299,951 additions and 534 deletions.
57 changes: 57 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: Main Workflow

on:
push:
pull_request:
release:
types:
- created

jobs:
build:
if: "!contains(github.event.head_commit.message, '[skip ci]') || github.event_name == 'release'"
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
Configuration: [Release]
Platform: [x86, x64]
steps:
- uses: actions/[email protected]
with:
fetch-depth: 0
- name: Setup MSBuild
uses: microsoft/[email protected]
- name: MSBuild
shell: cmd
run: |
set APPVEYOR_BUILD_VERSION=2.1.${{ github.run_number }}
msbuild LuaJIT.sln /t:Rebuild /p:Configuration=${{ matrix.Configuration }} /p:Platform=${{ matrix.Platform }}
- name: Prepare artifacts
shell: cmd
run: |
set APPVEYOR_BUILD_VERSION=2.1.${{ github.run_number }}
set CONFIGURATION=${{ matrix.Configuration }}
set PLATFORM=${{ matrix.Platform }}
set ARTIFACT_NAME=LuaJIT_%PLATFORM%_%APPVEYOR_BUILD_VERSION%_%CONFIGURATION%.7z
cd bin\%PLATFORM%\
7z a -t7z -m0=LZMA2:d=96m:fb=273 -mx=9 -mmt=2 ..\..\%ARTIFACT_NAME% .\
- name: Upload OGSR artifact
uses: actions/[email protected]
with:
name: LuaJIT_${{ matrix.Platform }}_2.1.${{ github.run_number }}_${{ matrix.Configuration }}.7z
path: .\LuaJIT_${{ matrix.Platform }}_2.1.${{ github.run_number }}_${{ matrix.Configuration }}.7z

- name: Upload release asset
if: github.event_name == 'release'
uses: tanyagray/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: .\LuaJIT_${{ matrix.Platform }}_2.1.${{ github.run_number }}_${{ matrix.Configuration }}.7z
asset_name: LuaJIT_${{ matrix.Platform }}_2.1.${{ github.run_number }}_${{ matrix.Configuration }}.7z
asset_content_type: application/zip
32 changes: 28 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,14 +1,38 @@
*.[oa]
*.so
*.obj
*.lib
# Precompiled Headers
*.ipch

# Всякий ненужный мусор:
*.VC.*
*.suo
*.user
*.exp
*.aps
*.TMP
*.ilk
*.pdb
*.log
*.cache

# Windows image file caches
Thumbs.db
ehthumbs.db

# Folder config file
Desktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

/.vs
/bin*
*.dll
*.exe
*.manifest
*.dmp
*.swp
.tags
.cache
build
*~
tags
*.swo
Loading

0 comments on commit 97c02da

Please sign in to comment.