Update project version to 2.3.2
#94
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Sephera Workflows | |
| on: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| os: [macos-latest, ubuntu-latest, windows-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Check-out repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.13' | |
| architecture: 'x64' | |
| cache: 'pip' | |
| cache-dependency-path: | | |
| **/requirements*.txt | |
| - name: Install Dependencies | |
| shell: bash | |
| run: | | |
| if [[ "${{runner.os }}" == "Linux" ]]; then | |
| sudo apt install clang ccache | |
| fi | |
| if [[ "${{ runner.os }}" == "Windows" ]]; then | |
| choco install visualstudio2019buildtools | |
| fi | |
| pip install -r requirements.txt | |
| - name: Check syntax | |
| run: | | |
| ruff check . | |
| - name: Build CLI for Linux | |
| if: runner.os == 'Linux' | |
| shell: bash | |
| run: | | |
| chmod +x ./scripts/ci_linux.sh | |
| ./scripts/ci_linux.sh | |
| - name: Build CLI for macOS | |
| if: runner.os == 'macOS' | |
| shell: bash | |
| run: | | |
| chmod +x ./scripts/ci_macos.sh | |
| ./scripts/ci_macos.sh | |
| - name: Build CLI for Windows | |
| if: runner.os == 'Windows' | |
| uses: Nuitka/Nuitka-Action@main | |
| with: | |
| nuitka-version: main | |
| script-name: main.py | |
| mode: onefile | |
| output-file: sephera.exe | |
| output-dir: build/cli | |
| - name: Upload artifacts for Windows | |
| if: runner.os == 'Windows' | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: sephera-${{ runner.os }} | |
| path: | | |
| build/cli/sephera.exe | |
| - name: Upload Artifacts for Linux | |
| if: runner.os == 'Linux' | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: sephera-${{ runner.os }} | |
| path: | | |
| build/cli/sephera | |
| - name: Upload artifacts for macOS | |
| if: runner.os == 'macOS' | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: sephera-${{ runner.os }} | |
| path: | | |
| build/cli/sephera |