- add yycc_char8_t and yycc_u8string in code to indicate explicit utf8 char type and string. it also has a polyfill if compiler and library do not support utf8 char type. - refactor the whole encoding helper. allow converting string with embedded NUL. but not tested.
		
			
				
	
	
		
			36 lines
		
	
	
		
			879 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
		
			879 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
name: YYCC Nightly Build
 | 
						|
 | 
						|
on:
 | 
						|
  workflow_dispatch:
 | 
						|
  push:
 | 
						|
    branches:
 | 
						|
      - master
 | 
						|
 | 
						|
jobs:
 | 
						|
  msvc-build:
 | 
						|
  
 | 
						|
    strategy:
 | 
						|
      matrix:
 | 
						|
        vs: ['2019']
 | 
						|
        msvc_arch: ['x86']
 | 
						|
 | 
						|
    runs-on: windows-2019
 | 
						|
 | 
						|
    steps:
 | 
						|
    - name: Fetching Repository
 | 
						|
      uses: actions/checkout@v3
 | 
						|
    - name: Building YYCC
 | 
						|
      shell: cmd
 | 
						|
      run: |
 | 
						|
        set VS=${{ matrix.vs }}
 | 
						|
        set VCVARS="C:\Program Files (x86)\Microsoft Visual Studio\%VS%\Enterprise\VC\Auxiliary\Build\vcvarsall.bat"
 | 
						|
        if not exist %VCVARS% set VCVARS="C:\Program Files\Microsoft Visual Studio\%VS%\Enterprise\VC\Auxiliary\Build\vcvarsall.bat"
 | 
						|
        call %VCVARS% ${{ matrix.msvc_arch }}
 | 
						|
        .\script\build.bat
 | 
						|
    - name: Uploading Nightly Build
 | 
						|
      uses: actions/upload-artifact@v3
 | 
						|
      with:
 | 
						|
        name: YYCC-windows-nightly
 | 
						|
        path: bin/install/*
 | 
						|
        retention-days: 30
 |